From 5d3ed282b0d5baf51ed27158b9c1cf9124e6e1bd Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 27 Feb 2014 10:02:58 +0000 Subject: [PATCH] - Support staging - Use shebangfix - Use COPYTREE_SHARE istead of CP --- textproc/info2man/Makefile | 10 +++++----- 1 file 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