2003-03-29 13:40:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2003/03/29 12:41:36 jmmv Exp $
|
2001-04-27 18:51:07 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mdfrm.pl
|
|
|
|
PKGNAME= mdfrm-1.0
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2001-04-27 18:51:07 +02:00
|
|
|
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
|
|
|
|
|
2002-07-05 09:14:19 +02:00
|
|
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
2001-04-27 18:51:07 +02:00
|
|
|
|
|
|
|
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
|
|
|
|
|
2001-04-27 18:53:14 +02:00
|
|
|
USE_PERL5= yes
|
2001-04-27 18:51:07 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
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"
|