blob: a621f7081b554219a01e09e9f8eaac850a6d061e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.2 2001/04/27 16:53:14 zuntum 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-*:../../devel/p5-TimeDate
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
WRKSRC= ${WRKDIR}
USE_PERL5= yes
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"
|