diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-02 23:22:26 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-02 23:22:26 +0000 |
commit | 69ac3135908c5fb2494970596a4df49d17f61283 (patch) | |
tree | 2b310b39dab9c7901adc6cc8c9f676d0dbd7dee1 /misc/kenny/Makefile | |
parent | 6ee266f6fe133510c1ac7ab9d50dd05c091b152f (diff) | |
download | ports-69ac3135908c5fb2494970596a4df49d17f61283.tar.gz ports-69ac3135908c5fb2494970596a4df49d17f61283.zip |
Notes
Diffstat (limited to 'misc/kenny/Makefile')
-rw-r--r-- | misc/kenny/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/misc/kenny/Makefile b/misc/kenny/Makefile new file mode 100644 index 000000000000..4b5d87ac59c4 --- /dev/null +++ b/misc/kenny/Makefile @@ -0,0 +1,51 @@ +# ex:ts=8 +# +# New ports collection makefile for: kenny +# Date created: 2001/12/25 +# Whom: Alan E ports@geeksrus.net +# +# $FreeBSD$ +# + +PORTNAME= kenny +PORTVERSION= 1.6 +CATEGORIES= misc perl5 +MASTER_SITES= http://www.h.shuttle.de/mitch/stuff/ +DISTNAME= kenny.pl-${PORTVERSION} +EXTRACT_SUFX= .gz +EXTRACT_ONLY= + +MAINTAINER= ports@geeksrus.net + +USE_PERL5= yes +NO_BUILD= yes + +MAN1= kenny.1 + +program= kenny +manpage= kenny.1 + +.if exists(/usr/bin/pod2man) +POD2MAN= /usr/bin/pod2man +.elif exists(${LOCALBASE}/bin/pod2man) +POD2MAN= ${LOCALBASE}/bin/pod2man +.else +POD2MAN= pod2man +.endif + +post-extract: + @${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ + > ${WRKDIR}/${program} + @${POD2MAN} ${WRKDIR}/${program} > ${WRKDIR}/${manpage} + +post-patch: + @${PERL} -pi -e "s|/usr/bin/perl|${PERL}|" ${WRKDIR}/${program} + +do-install: + @${INSTALL_SCRIPT} ${WRKDIR}/${program} ${PREFIX}/bin/${program} + @${INSTALL_MAN} ${WRKDIR}/${manpage} ${MANPREFIX}/man/man1/${manpage} + +.include <bsd.port.mk> + +# +#EOF |