aboutsummaryrefslogblamecommitdiff
path: root/textproc/info2man/Makefile
blob: c8e4f05a062648e588ac49b17b221f869d228cb6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                                


                        
                 







                                                       
                                                           
                                



                                 
                        




                                                                           


                                                                               

                      
# Created by: Thierry Thomas <thierry@pompo.net>

PORTNAME=	info2man
PORTVERSION=	20040717
PORTREVISION=	1
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

RUN_DEPENDS=	p5-Perl4-CoreLibs>0:devel/p5-Perl4-CoreLibs
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>