Changeset 1040 in MondoRescue for branches/stable/tools/build2pkg


Ignore:
Timestamp:
Jan 7, 2007, 12:20:30 AM (13 years ago)
Author:
Bruno Cornec
Message:

FreeBSD fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r1039 r1040  
    125125        export pkg="$pkg $p-${PVER}.deb"
    126126        # Et voila !
    127     elif [  _"$dtype" = _"freebsd" ]; then
     127    elif [  _"$dtype" = _"port" ]; then
     128        cd $TOPBUILDDIR
     129        tar xfz $src
     130        cd ${p}-${PVER}
     131        mv distributions/${ddir}-$dver/* $TOPBUILDDIR
     132        cd ..
     133        rm -rf ${p}-${PVER}
     134        make DISTDIR=$TOPBUILDDIR
    128135    elif [  _"$dfam" = _"slackware" ]; then
    129136        mkdir -p $TOPBUILDDIR/build-${p}/install
Note: See TracChangeset for help on using the changeset viewer.