3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
32 lines
703 B
Makefile
32 lines
703 B
Makefile
# $NetBSD: Makefile,v 1.13 2005/07/16 01:19:23 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= cdif-1.15
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Word context diff
|
|
|
|
LICENSE= no-commercial-use
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_TOOLS+= perl:run
|
|
|
|
NO_CONFIGURE= # defined
|
|
NO_BUILD= # defined
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist
|
|
|
|
do-patch:
|
|
${SED} -e '1s@/usr/local/bin/perl@${PERL5}@' \
|
|
< ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|