aboutsummaryrefslogtreecommitdiff
path: root/mail/py-spf
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-20 03:24:31 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-20 03:24:31 +0000
commit0e32df5cc50b7e539e58a7e3e529ab942faceadd (patch)
treeea14c1d6d244228cf0c0a04a1e8bfa72a54229c5 /mail/py-spf
parentb955c3a3700d5ef05bb6158aec4169bd0f919dd0 (diff)
downloadports-0e32df5cc50b7e539e58a7e3e529ab942faceadd.tar.gz
ports-0e32df5cc50b7e539e58a7e3e529ab942faceadd.zip
Notes
Diffstat (limited to 'mail/py-spf')
-rw-r--r--mail/py-spf/Makefile15
-rw-r--r--mail/py-spf/pkg-descr2
2 files changed, 8 insertions, 9 deletions
diff --git a/mail/py-spf/Makefile b/mail/py-spf/Makefile
index 2d081fa25a71..b029d8acc5cd 100644
--- a/mail/py-spf/Makefile
+++ b/mail/py-spf/Makefile
@@ -21,21 +21,20 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= py${PORTNAME}
+USES= shebangfix
PORTDOCS= CHANGELOG README
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+SHEBANG_FILES= spf.py
-post-patch:
- @${REINPLACE_CMD} -e '1 s|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/spf.py
+.include <bsd.port.options.mk>
post-install:
- ${CHMOD} ${BINMODE} ${PYTHONPREFIX_SITELIBDIR}/spf.py
- ${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${PREFIX}/bin/
+ ${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py
+ ${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/mail/py-spf/pkg-descr b/mail/py-spf/pkg-descr
index 58e17759e9b5..8f437b1d05f5 100644
--- a/mail/py-spf/pkg-descr
+++ b/mail/py-spf/pkg-descr
@@ -5,4 +5,4 @@ several of the open SPF project's SPF record testing tools.
Currently part of the pymilter project: http://pymilter.sourceforge.net
-WWW: http://pypi.python.org/pypi/pyspf
+WWW: https://pypi.python.org/pypi/pyspf