aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 18:02:58 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 18:02:58 +0800
commit107c2f6118a9bcdca25f91d464b41111d995cbd5 (patch)
tree2419511f961059f8e30f20103252f9c78249e328
parent2725400fe59c2782808369a7bc80647c3fde2f1c (diff)
downloadfreebsd-ports-gnome-107c2f6118a9bcdca25f91d464b41111d995cbd5.tar.gz
freebsd-ports-gnome-107c2f6118a9bcdca25f91d464b41111d995cbd5.tar.zst
freebsd-ports-gnome-107c2f6118a9bcdca25f91d464b41111d995cbd5.zip
- Support staging
- Use shebangfix - Use COPYTREE_SHARE istead of CP
-rw-r--r--textproc/info2man/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/info2man/Makefile b/textproc/info2man/Makefile
index 26c72dd10cb7..91226785c18a 100644
--- a/textproc/info2man/Makefile
+++ b/textproc/info2man/Makefile
@@ -11,19 +11,19 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Translate GNU info files into man pages
-USES= perl5
+USES= perl5 shebangfix
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLSCRIPTS= info2man info2pod
+SHEBANG_FILES= info2pod
-NO_STAGE= yes
pre-configure:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/info2pod
do-install:
- ${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- ${CP} -R ${WRKSRC}/cs ${DATADIR}
+ ${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} cs ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>