svn commit: r328353 - head/mail/py-authres
William Grzybowski
wg at FreeBSD.org
Thu Sep 26 12:54:08 UTC 2013
Author: wg
Date: Thu Sep 26 12:54:08 2013
New Revision: 328353
URL: http://svnweb.freebsd.org/changeset/ports/328353
Log:
mail/py-authres: allow staging
- Allow stating [1]
- Define DOCS option
PR: ports/182400 [1]
Submitted by: Yasuhiro KIMURA <yasu utahime.org> (maintainer) [1]
Modified:
head/mail/py-authres/Makefile
Modified: head/mail/py-authres/Makefile
==============================================================================
--- head/mail/py-authres/Makefile Thu Sep 26 12:34:50 2013 (r328352)
+++ head/mail/py-authres/Makefile Thu Sep 26 12:54:08 2013 (r328353)
@@ -12,7 +12,7 @@ COMMENT= Python module for RFC 5451 Auth
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>
More information about the svn-ports-head
mailing list