1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-04-04 09:21:52 +00:00
parent 3f095479b6
commit 3c727201a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350074

View File

@ -32,20 +32,13 @@ NO_BUILD= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --default --prefix=${PREFIX}
PLIST_FILES= bin/lesspipe.sh \
bin/code2color
PLIST_FILES= bin/lesspipe.sh bin/code2color man/man1/lesspipe.1.gz
SUB_FILES= pkg-message
MAN1= lesspipe.1
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${PREFIX}/man/man1
post-install:
@${CAT} ${PKGMESSAGE}
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>