1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/textproc/cdif/Makefile
Mathieu Arnold 5dd4ea2cab - Convert to staging
- Add license
- Rename patch to follow makepatch naming
- Use new options knobs

Sponsored by:	Absolight
2014-01-26 11:57:13 +00:00

33 lines
649 B
Makefile

# Created by: Yoshiro MIHIRA <sanpei@sanpei.org>
# $FreeBSD$
PORTNAME= cdif
PORTVERSION= 1.19
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sanpei
EXTRACT_SUFX= # empty
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Word context diff
USES= perl5
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/cdif
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist
do-patch:
${SED} -e '1s@/usr/local/bin/perl@${PERL}@' \
< ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/cdif
.include <bsd.port.mk>