1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/kenny/Makefile
Alex Kozlov 5d6a8e4ab8 - Add/update license when possible
- Modernize ports Makefiles
- Update MASTER_SITES/distfile for converters/chmview
2014-05-20 06:06:35 +00:00

45 lines
993 B
Makefile

# Created by: Alan E <alane@FreeBSD.org>
# $FreeBSD$
PORTNAME= kenny
PORTVERSION= 1.7
PORTREVISION= 1
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
LICENSE= ART10
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>