Add staging support.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-python->wg I'll take it.
State Changed From-To: open->closed Committed, with minor changes. Thanks!
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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"