diff options
author | petef <petef@FreeBSD.org> | 2003-06-06 03:30:36 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-06-06 03:30:36 +0800 |
commit | 1c824dff82442c398aced4cbb8103f0f6f45b726 (patch) | |
tree | 32c47b5ec8506f1a7dd1730c4eb03a849d3ab3d1 /mail | |
parent | 8e95dda015bfa9888e95a12be0111f7dd2e0fc78 (diff) | |
download | freebsd-ports-gnome-1c824dff82442c398aced4cbb8103f0f6f45b726.tar.gz freebsd-ports-gnome-1c824dff82442c398aced4cbb8103f0f6f45b726.tar.zst freebsd-ports-gnome-1c824dff82442c398aced4cbb8103f0f6f45b726.zip |
- update to 1.1c
- switch to a versioned distfile
- PERL -> REINPLACE_CMD
Diffstat (limited to 'mail')
-rw-r--r-- | mail/demime/Makefile | 14 | ||||
-rw-r--r-- | mail/demime/distinfo | 2 |
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 |