diff options
author | Michael Scheidell <scheidell@FreeBSD.org> | 2012-05-12 09:20:34 +0000 |
---|---|---|
committer | Michael Scheidell <scheidell@FreeBSD.org> | 2012-05-12 09:20:34 +0000 |
commit | 1244d916d4441df065e0adb3043f0c877e4bbc77 (patch) | |
tree | f0e4c9fe9dd99d2778b93516008d1ee238d0b3ec /mail/postfix-policyd-spf-python | |
parent | bf28b9e6f9209d848d58f44df7ff3c515dfd083c (diff) | |
download | ports-1244d916d4441df065e0adb3043f0c877e4bbc77.tar.gz ports-1244d916d4441df065e0adb3043f0c877e4bbc77.zip |
Notes
Diffstat (limited to 'mail/postfix-policyd-spf-python')
-rw-r--r-- | mail/postfix-policyd-spf-python/Makefile | 9 | ||||
-rw-r--r-- | mail/postfix-policyd-spf-python/distinfo | 4 | ||||
-rw-r--r-- | mail/postfix-policyd-spf-python/pkg-plist | 1 |
3 files changed, 8 insertions, 6 deletions
diff --git a/mail/postfix-policyd-spf-python/Makefile b/mail/postfix-policyd-spf-python/Makefile index b396fef8cd1a..de5f4220e131 100644 --- a/mail/postfix-policyd-spf-python/Makefile +++ b/mail/postfix-policyd-spf-python/Makefile @@ -6,9 +6,9 @@ # PORTNAME= postfix-policyd-spf-python -PORTVERSION= 0.8.1 +PORTVERSION= 1.0 CATEGORIES= mail python -MASTER_SITES= http://launchpad.net/pypolicyd-spf/0.8/${PORTVERSION}/+download/ +MASTER_SITES= http://launchpad.net/pypolicyd-spf/${PORTVERSION}/${PORTVERSION}/+download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pypolicyd-spf-${PORTVERSION} @@ -30,7 +30,7 @@ MAN5= policyd-spf.conf.5 \ policyd-spf.peruser.5 PORTDOCS= CHANGES \ - LICENSE \ + COPYING \ README \ README.per_user_whitelisting \ TODO \ @@ -41,6 +41,9 @@ PKGMESSAGE= ${WRKSRC}/pkg-message SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} +post-patch: + @${REINPLACE_CMD} -e '\/etc/s|/etc|etc|' ${WRKSRC}/setup.py + do-install: @# Install data to an unused directory to ensure it doesn't pollute the system @(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS} --install-data ${WRKDIR}/tmp-datadump-dir) diff --git a/mail/postfix-policyd-spf-python/distinfo b/mail/postfix-policyd-spf-python/distinfo index ac62c0d8e770..67a731ce8013 100644 --- a/mail/postfix-policyd-spf-python/distinfo +++ b/mail/postfix-policyd-spf-python/distinfo @@ -1,2 +1,2 @@ -SHA256 (pypolicyd-spf-0.8.1.tar.gz) = 7f12aeef5e8638b823aebf84e9b3982c469deb41649036774f20ce7b08213b01 -SIZE (pypolicyd-spf-0.8.1.tar.gz) = 35892 +SHA256 (pypolicyd-spf-1.0.tar.gz) = c57aa4bae4f6ed2321acf0f9361cbdce652fb4c1c948b063a0909744815e0c8d +SIZE (pypolicyd-spf-1.0.tar.gz) = 30204 diff --git a/mail/postfix-policyd-spf-python/pkg-plist b/mail/postfix-policyd-spf-python/pkg-plist index e20946f72e0a..42ce67c9234f 100644 --- a/mail/postfix-policyd-spf-python/pkg-plist +++ b/mail/postfix-policyd-spf-python/pkg-plist @@ -1,4 +1,3 @@ -@exec mkdir -p %D/%%ETCDIR%% @unexec if cmp -s %D/%%ETCDIR%%/policyd-spf.conf.sample %D/%%ETCDIR%%/policyd-spf.conf; then rm -f %D/%%ETCDIR%%/policyd-spf.conf; fi %%ETCDIR%%/policyd-spf.conf.sample @exec if [ ! -f %D/%%ETCDIR%%/policyd-spf.conf ] ; then cp -p %D/%F %B/policyd-spf.conf; fi |