aboutsummaryrefslogtreecommitdiff
path: root/mail/rss2email
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-10-21 10:35:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-10-21 10:35:54 +0000
commit6ec4a4bd13636ea940785dc53c3ddf9ba658c946 (patch)
tree28bad2ad20d14a8a8de406cb2df23c79a5c9d186 /mail/rss2email
parent42957c1bf1713819d970a699943cf0e82f7a59eb (diff)
downloadports-6ec4a4bd13636ea940785dc53c3ddf9ba658c946.tar.gz
ports-6ec4a4bd13636ea940785dc53c3ddf9ba658c946.zip
Notes
Diffstat (limited to 'mail/rss2email')
-rw-r--r--mail/rss2email/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/rss2email/Makefile b/mail/rss2email/Makefile
index b612a8770248..d26985534bd3 100644
--- a/mail/rss2email/Makefile
+++ b/mail/rss2email/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rss2email
PORTVERSION= 2.65
+PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://www.chifeng.name/dist/rss2email/
@@ -27,6 +28,8 @@ PORTEXAMPLES= config.py
post-patch:
@${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\
${WRKSRC}/r2e
+ @${REINPLACE_CMD} -e "s|\([^[:alnum:]]\)c.type\([^[:alnum:]]\)|\1c.get('type','')\2|"\
+ ${WRKSRC}/rss2email.py
do-install:
@${INSTALL} -d ${DATADIR}/