1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Use shebangfix
- Use COPYTREE_SHARE istead of CP
This commit is contained in:
Emanuel Haupt 2014-02-27 10:02:58 +00:00
parent 856704a6d1
commit 5d3ed282b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346314

View File

@ -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>