aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/py-spf/Makefile9
-rw-r--r--mail/py-spf/distinfo6
-rw-r--r--mail/py-spf/pkg-plist3
3 files changed, 8 insertions, 10 deletions
diff --git a/mail/py-spf/Makefile b/mail/py-spf/Makefile
index 4998abbde544..197f472a1034 100644
--- a/mail/py-spf/Makefile
+++ b/mail/py-spf/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= spf
-PORTVERSION= 2.0.4
+PORTVERSION= 2.0.5
CATEGORIES= mail python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= SF
MASTER_SITE_SUBDIR= pymilter
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
@@ -23,13 +23,14 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyspf
+PORTDOCS= CHANGELOG README
+
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${CHMOD} 755 ${PYTHONPREFIX_SITELIBDIR}/spf.py
@${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${PREFIX}/bin
diff --git a/mail/py-spf/distinfo b/mail/py-spf/distinfo
index 177300925207..bc7209972187 100644
--- a/mail/py-spf/distinfo
+++ b/mail/py-spf/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/pyspf-2.0.4.tar.gz) = 6a40662e4e4b36be0633983a586c390e
-SHA256 (python/pyspf-2.0.4.tar.gz) = fedd19918a1b3496ca1f2f3692758f8cb7657774c759add349b4cb61f8d20ec8
-SIZE (python/pyspf-2.0.4.tar.gz) = 36163
+MD5 (python/pyspf-2.0.5.tar.gz) = 7e3f53362e3ad52ec8a496445085a34f
+SHA256 (python/pyspf-2.0.5.tar.gz) = a9e143fefc6bafd9f6e39b1b62eaaafae8bf96bdc25961ff1d55d01b173bf0b0
+SIZE (python/pyspf-2.0.5.tar.gz) = 38818
diff --git a/mail/py-spf/pkg-plist b/mail/py-spf/pkg-plist
index f14e3f95886b..1cb86ba73091 100644
--- a/mail/py-spf/pkg-plist
+++ b/mail/py-spf/pkg-plist
@@ -4,6 +4,3 @@ bin/type99.py
%%PYTHON_SITELIBDIR%%/spf.py
%%PYTHON_SITELIBDIR%%/spf.pyc
%%PYTHON_SITELIBDIR%%/spf.pyo
-%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%