summaryrefslogtreecommitdiff
path: root/misc/lesspipe/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-04-04 09:21:52 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-04-04 09:21:52 +0000
commit3c727201a406319c5e9f1bce885196f191b9be5b (patch)
treebb139dbd7e4430c28f110f9ee8f24c97b7c8508a /misc/lesspipe/Makefile
parentSupport staging (diff)
Support staging
Diffstat (limited to '')
-rw-r--r--misc/lesspipe/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/misc/lesspipe/Makefile b/misc/lesspipe/Makefile
index a91c947633eb..83c1b588339f 100644
--- a/misc/lesspipe/Makefile
+++ b/misc/lesspipe/Makefile
@@ -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>