aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-26 12:54:08 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-26 12:54:08 +0000
commit616c280fa887320d8d8b941d79e24458d6e8d9a6 (patch)
treee975a2688c8e853820d24defdd49405cfc79e5bc /mail
parentddd50bb455631f5cbcc9f3c37f9b8fe2fc89df2f (diff)
downloadports-616c280fa887320d8d8b941d79e24458d6e8d9a6.tar.gz
ports-616c280fa887320d8d8b941d79e24458d6e8d9a6.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/py-authres/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/mail/py-authres/Makefile b/mail/py-authres/Makefile
index 2028d236b71e..6a1643c32b45 100644
--- a/mail/py-authres/Makefile
+++ b/mail/py-authres/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python module for RFC 5451 Authentication-Results headers
LICENSE= AL2
-USE_PYTHON= 2.6+
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB+= PORTNAME=${PORTNAME}
@@ -21,13 +21,10 @@ FETCH_ARGS= -pRr
PORTDOCS= CHANGES README
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>