pkgsrc/mail/mdfrm/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
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.
2005-07-16 01:19:06 +00:00

32 lines
768 B
Makefile

# $NetBSD: Makefile,v 1.10 2005/07/16 01:19:13 jlam Exp $
#
DISTNAME= mdfrm.pl
PKGNAME= mdfrm-1.0
CATEGORIES= mail
MASTER_SITES= http://www.goof.com/~mmead/
EXTRACT_SUFX= #
MAINTAINER= zuntum@NetBSD.org
COMMENT= Print a summary of mail in a Maildir waiting to be read
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
NO_BUILD= yes
INSTALLATION_DIRS= bin
post-patch:
${SED} -e "s,/usr/local/bin/perl,${LOCALBASE}/bin/perl,g" \
-e "s,.Maildir,Maildir,g" \
${WRKSRC}/mdfrm.pl > ${WRKSRC}/mdfrm.pl.done
${MV} ${WRKSRC}/mdfrm.pl.done ${WRKSRC}/mdfrm.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mdfrm.pl ${PREFIX}/bin/mdfrm
.include "../../mk/bsd.pkg.mk"