diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-05-12 17:20:34 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-05-12 17:20:34 +0800 |
commit | c85e9ee791437c4d52f2d2dfb512d19f4ee80e3c (patch) | |
tree | 8a3474888391cd4af5415fadb1451cf9c2bfcdcd /mail | |
parent | b6509fc51a204884a02778e0230071ff43cd9a33 (diff) | |
download | freebsd-ports-gnome-c85e9ee791437c4d52f2d2dfb512d19f4ee80e3c.tar.gz freebsd-ports-gnome-c85e9ee791437c4d52f2d2dfb512d19f4ee80e3c.tar.zst freebsd-ports-gnome-c85e9ee791437c4d52f2d2dfb512d19f4ee80e3c.zip |
- Update to v1.0
PR: ports/167616
Submitted by: Keith Gaughan <k@stereochro.me>
Approved by: Giel van Schijndel <me@mortis.eu> (maintainer)
Diffstat (limited to 'mail')
-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 |