forked from Lainports/freebsd-ports
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.
While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.
PR: 205367
With hat: portmgr
Sponsored by: Absolight
27 lines
514 B
Makefile
27 lines
514 B
Makefile
# Created by: Yoshiro MIHIRA <sanpei@sanpei.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cdif
|
|
PORTVERSION= 1.19
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= LOCAL/sanpei
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
|
COMMENT= Word context diff
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= ${DISTNAME}
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/cdif
|
|
|
|
do-extract:
|
|
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/cdif
|
|
|
|
.include <bsd.port.mk>
|