summaryrefslogtreecommitdiffstats
path: root/textproc/info2man/Makefile
blob: df4d6b878fa0cc5bb94865dc7a95b11282b7d72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for: info2man
# Date created:         19 January 2005
# Whom:                 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

USE_PERL5=	yes
USE_REINPLACE=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

PLSCRIPTS=	info2man info2pod

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}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud