7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
31 lines
739 B
Makefile
31 lines
739 B
Makefile
# $NetBSD: Makefile,v 1.18 2014/05/29 23:36:46 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= mdfrm.pl
|
|
PKGNAME= mdfrm-1.0
|
|
PKGREVISION= 3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.goof.com/~mmead/
|
|
EXTRACT_SUFX= #
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Print a summary of mail in a Maildir waiting to be read
|
|
|
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
|
|
|
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 ${DESTDIR}${PREFIX}/bin/mdfrm
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|