summaryrefslogtreecommitdiffstats
path: root/misc/kenny/Makefile
blob: c64f28dfef2daa25bf1134a46c83578943868ced (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
34
35
36
37
38
39
40
41
# Created by: Alan E <alane@FreeBSD.org>
# $FreeBSD$

PORTNAME=	kenny
PORTVERSION=	1.7
CATEGORIES=	misc perl5
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}\
				http://www.cgarbs.de/stuff/
DISTNAME=	${PORTNAME}.pl-${PORTVERSION}
EXTRACT_SUFX=	.gz

MAINTAINER=	ak@FreeBSD.org
COMMENT=	Translate text both to and from KennySpeak

PROJECTHOST=	ak-various-projects

CONFLICTS=	filters-*

USES=		perl5
USE_PERL5=	extract build run
EXTRACT_CMD=	${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	> ${WRKDIR}/${PORTNAME}
NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/kenny \
		man/man1/kenny.1.gz

POD2MAN?=	${LOCALBASE}/bin/pod2man

post-extract:
	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}
	@${POD2MAN} ${WRKDIR}/${PORTNAME} > ${WRKDIR}/${PORTNAME}.1

do-install:
	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	@${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

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