2.2: update prt-get to reflect our new ports structure

This commit is contained in:
Johannes Winkelmann 2006-02-24 13:34:16 +00:00
parent 66b0c1a9ae
commit 2952fe18d8
3 changed files with 49 additions and 1 deletions

View File

@ -1 +1,2 @@
a9297b69ec9eacd555b291bc9ef50ad5 prt-get-0.5.11.tar.gz
2b1cec6ab2834ae7402b92f7bbd54d3b prt-get.conf

View File

@ -5,11 +5,14 @@
name=prt-get
version=0.5.11
release=1
source=(http://jw.tks6.net/files/crux/prt-get-$version.tar.gz)
source=(http://jw.tks6.net/files/crux/prt-get-$version.tar.gz \
prt-get.conf)
build() {
cd ${name}-${version}
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -m 644 $SRC/prt-get.conf $PKG/etc/
}

44
prt-get/prt-get.conf Normal file
View File

@ -0,0 +1,44 @@
###
### prt-get conf
###
# note: the order matters: the package found first is used
prtdir /usr/ports/core
prtdir /usr/ports/opt
prtdir /usr/ports/contrib
### use mypackage form local directory
# prtdir /home/packages/build:mypackage
### log options:
# writelog enabled # (enabled|disabled)
# logmode overwrite # (append|overwrite)
logfile /var/log/pkgbuild/%n.log
# path, %p=path to port dir, %n=port name
# %v=version, %r=release
### use alternate cache file (default: /var/lib/pkg/prt-get.cache
# cachefile /mnt/nfs/cache
### print README information:
# readme verbose # (verbose|compact|disabled)
### prefer higher versions in sysup / diff
# preferhigher no # (yes|no)
### use regexp search
# useregex no # (yes|no)
### run pre- and post-installs scripts; yes is equivalent to the
### --install-scripts option
# runscripts no # (no|yes)
### EXPERT SECTION ###
### alternative commands
# makecommand pkgmk
# addcommand pkgadd
# removecommand pkgrm
# runscriptcommand sh