- Support STAGEDIR

This commit is contained in:
Bryan Drewery 2013-09-23 11:24:00 +00:00
parent 892eb1d0b6
commit 87d3f71d6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327977
2 changed files with 19 additions and 25 deletions

View file

@ -19,32 +19,14 @@ OPTIONS_DEFINE= DOCS
CONFLICTS_INSTALL= portupgrade-devel-*
NO_STAGE= yes
DIST_SUBDIR= ${PORTNAME}
USE_BZIP2= yes
USE_RUBY= yes
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}" RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}"
MAN1= pkg_deinstall.1 \
pkg_fetch.1 \
pkg_glob.1 \
pkg_sort.1 \
pkgdb.1 \
pkgdu.1 \
portcvsweb.1 \
portsclean.1 \
portsdb.1 \
portupgrade.1 \
portversion.1
MAN5= pkgtools.conf.5
MLINKS= pkgdb.1 pkg_which.1 \
portupgrade.1 portinstall.1 \
portcvsweb.1 portsvnweb.1 \
portsdb.1 ports_glob.1
MANCOMPRESSED= maybe
MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}" \
RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}"
EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools
DOCSDIR= ${PREFIX}/share/doc/pkgtools
@ -71,10 +53,6 @@ PLIST_SUB+= SCRIPT="@comment "
.endif
post-install:
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
fi
${MKDIR} ${PREFIX}/lib/compat/pkg
${CAT} ${PKGMESSAGE}
${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
.include <bsd.port.post.mk>

View file

@ -1,6 +1,22 @@
@exec /bin/mkdir -p %D/lib/compat/pkg
@dirrmtry lib/compat/pkg
@dirrmtry lib/compat
man/man1/pkg_deinstall.1.gz
man/man1/pkg_fetch.1.gz
man/man1/pkg_glob.1.gz
man/man1/pkg_sort.1.gz
man/man1/pkg_which.1.gz
man/man1/pkgdb.1.gz
man/man1/pkgdu.1.gz
man/man1/portcvsweb.1.gz
man/man1/portinstall.1.gz
man/man1/ports_glob.1.gz
man/man1/portsclean.1.gz
man/man1/portsdb.1.gz
man/man1/portsvnweb.1.gz
man/man1/portupgrade.1.gz
man/man1/portversion.1.gz
man/man5/pkgtools.conf.5.gz
sbin/pkg_deinstall
sbin/pkg_fetch
sbin/pkg_glob