summaryrefslogtreecommitdiff
path: root/mail/demime
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-06-05 19:30:36 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-06-05 19:30:36 +0000
commit9b6734a98e700dd30780e7a19ffd983d6ce91557 (patch)
tree439a307921e82a6510d4675c4f4956f7ccc43952 /mail/demime
parentUpdate to 0.4. (diff)
- update to 1.1c
- switch to a versioned distfile - PERL -> REINPLACE_CMD
Notes
Notes: svn path=/head/; revision=82324
Diffstat (limited to 'mail/demime')
-rw-r--r--mail/demime/Makefile14
-rw-r--r--mail/demime/distinfo2
2 files changed, 9 insertions, 7 deletions
diff --git a/mail/demime/Makefile b/mail/demime/Makefile
index 32a42e2c9d1b..e39296fcc233 100644
--- a/mail/demime/Makefile
+++ b/mail/demime/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= demime
-PORTVERSION= 1.01a
+PORTVERSION= 1.1c
CATEGORIES= mail textproc
-MASTER_SITES= http://scifi.squawk.com/
-DISTFILES= ${PORTNAME}.stable demime_junkmail.cf
+MASTER_SITES= http://majordomo.squawk.com/njs/demime/:demime \
+ http://scifi.squawk.com/:junkmail
+DISTFILES= ${PORTNAME}.${PORTVERSION}:demime demime_junkmail.cf:junkmail
MAINTAINER= petef@FreeBSD.org
COMMENT= A tool to scrub mime from mailing lists
@@ -22,19 +23,20 @@ RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base
NO_BUILD= yes
+USE_REINPLACE= yes
USE_PERL5= yes
POD2MAN?= pod2man
MAN1= demime.1
do-extract:
@${MKDIR} ${WRKSRC}
- @${CP} ${DISTDIR}/demime.stable ${WRKSRC}/demime
+ @${CP} ${DISTDIR}/demime.${PORTVERSION} ${WRKSRC}/demime
post-patch:
- @${PERL} -pi -e 's!/usr/lib/majordomo/demime_junkmail.cf!${PREFIX}/etc/demime_junkmail.cf!g' ${WRKSRC}/demime
+ @${REINPLACE_CMD} -e 's!/usr/lib/majordomo/demime_junkmail.cf!${PREFIX}/etc/demime_junkmail.cf!g' ${WRKSRC}/demime
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/demime ${PREFIX}/bin/demime
+ ${INSTALL_SCRIPT} -c ${WRKSRC}/demime ${PREFIX}/bin/demime
${INSTALL_DATA} ${DISTDIR}/demime_junkmail.cf ${PREFIX}/etc
${POD2MAN} ${WRKSRC}/demime > ${PREFIX}/man/man1/demime.1
diff --git a/mail/demime/distinfo b/mail/demime/distinfo
index 975b06b25343..a48ae4c94d34 100644
--- a/mail/demime/distinfo
+++ b/mail/demime/distinfo
@@ -1,2 +1,2 @@
-MD5 (demime.stable) = 1621c0d277d2399c83ea70d49224b4ce
+MD5 (demime.1.1c) = 6cbb0694c78ad9b5ab586471527b57f1
MD5 (demime_junkmail.cf) = 1ac24439190abd5553d2dd4aeff2dbff