Support staging

This commit is contained in:
Emanuel Haupt 2014-04-04 08:49:25 +00:00
parent 98dd6f174d
commit 0c0370fced
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350067

View file

@ -7,24 +7,25 @@ PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # empty
DISTFILES= # none
EXTRACT_ONLY= # empty
MAINTAINER= mkamm@gmx.net
COMMENT= Quick display of files inside the FreeBSD ports tree
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
MAN1= portless.1
MANCOMPRESSED= no
USES= shebangfix
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/portless
PLIST_FILES= bin/portless man/man1/portless.1.gz
SHEBANG_FILES= portless
post-extract:
${SED} -e 's;@BASH@;/bin/bash;g' \
${FILESDIR}/portless.sh > ${WRKSRC}/portless
NO_STAGE= yes
do-build:
${SED} -e 's;@BASH@;${LOCALBASE}/bin/bash;g' \
${FILESDIR}/portless.sh >${WRKDIR}/portless
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/portless ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/portless.1 ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/portless ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/portless.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>