Import www/p5-Catalyst-View-TT-Alloy version 0.00007_1
[dports.git] / textproc / info2man / Makefile
1 # Created by: Thierry Thomas <thierry@pompo.net>
2 # $FreeBSD$
3
4 PORTNAME=       info2man
5 PORTVERSION=    20040717
6 PORTREVISION=   1
7 CATEGORIES=     textproc
8 MASTER_SITES=   http://www.cskk.ezoshosting.com/cs/css/
9 DISTNAME=       ${PORTNAME}
10 DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}
11
12 MAINTAINER=     ports@FreeBSD.org
13 COMMENT=        Translate GNU info files into man pages
14
15 RUN_DEPENDS=    p5-Perl4-CoreLibs>0:devel/p5-Perl4-CoreLibs
16 USES=           perl5 shebangfix
17 NO_WRKSUBDIR=   yes
18 NO_BUILD=       yes
19
20 PLSCRIPTS=      info2man info2pod
21 SHEBANG_FILES=  info2pod
22
23 pre-configure:
24         @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/info2pod
25
26 do-install:
27         ${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
28         @${MKDIR} ${STAGEDIR}${DATADIR}
29         (cd ${WRKSRC} && ${COPYTREE_SHARE} cs ${STAGEDIR}${DATADIR})
30
31 .include <bsd.port.mk>