diff options
Diffstat (limited to 'mail/grepmail/Makefile')
-rw-r--r-- | mail/grepmail/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile new file mode 100644 index 00000000000..231906f677e --- /dev/null +++ b/mail/grepmail/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/08 12:01:13 bad Exp $ +# + +DISTNAME= grepmail-3.8 +CATEGORIES= mail +MASTER_SITES= http://www.cs.virginia.edu/~dwc3q/code/ + +MAINTAINER= david@fundy.net +HOMEPAGE= http://www.cs.virginia.edu/~dwc3q/code/index.html + +CONFIGURE_ENV= PERL=${PREFIX}/bin/perl + +USE_PERL5= yes + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl specialize grepmail.in < /dev/null + +do-build: + @cd ${WRKSRC} && \ + ${SED} -e '1s,.*,#!'${PREFIX}/bin/perl',' grepmail >grepmail.perl && \ + ${MV} -f grepmail.perl grepmail + @echo Build done. + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/grepmail ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" |