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.
29 lines
639 B
Makefile
29 lines
639 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/07/16 01:19:12 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= fromto-1.5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
|
|
EXTRACT_SUFX= #empty
|
|
|
|
MAINTAINER= bad@NetBSD.org
|
|
COMMENT= Sendmail logfile viewer
|
|
|
|
RESTRICTED= "Redistribution allowed for non-commercial purposes only"
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_TOOLS+= perl:run
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/fromto.in
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} ; ${SED} -e "1s,/usr/local,${PREFIX}," fromto.in >fromto)
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fromto ${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|