svn commit: r346314 - head/textproc/info2man
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 27 10:02:59 UTC 2014
Author: ehaupt
Date: Thu Feb 27 10:02:58 2014
New Revision: 346314
URL: http://svnweb.freebsd.org/changeset/ports/346314
QAT: https://qat.redports.org/buildarchive/r346314/
Log:
- Support staging
- Use shebangfix
- Use COPYTREE_SHARE istead of CP
Modified:
head/textproc/info2man/Makefile
Modified: head/textproc/info2man/Makefile
==============================================================================
--- head/textproc/info2man/Makefile Thu Feb 27 09:58:04 2014 (r346313)
+++ head/textproc/info2man/Makefile Thu Feb 27 10:02:58 2014 (r346314)
@@ -11,19 +11,19 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list