1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/textproc/info2man/Makefile
Emanuel Haupt 5d3ed282b0 - Support staging
- Use shebangfix
- Use COPYTREE_SHARE istead of CP
2014-02-27 10:02:58 +00:00

30 lines
721 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= info2man
PORTVERSION= 20040717
CATEGORIES= textproc
MASTER_SITES= http://www.cskk.ezoshosting.com/cs/css/
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Translate GNU info files into man pages
USES= perl5 shebangfix
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLSCRIPTS= info2man info2pod
SHEBANG_FILES= info2pod
pre-configure:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/info2pod
do-install:
${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} cs ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>