svn commit: r342853 - head/devel/py-aspects
Antoine Brodin
antoine at FreeBSD.org
Wed Feb 5 21:07:33 UTC 2014
Author: antoine
Date: Wed Feb 5 21:07:33 2014
New Revision: 342853
URL: http://svnweb.freebsd.org/changeset/ports/342853
QAT: https://qat.redports.org/buildarchive/r342853/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
Deleted:
head/devel/py-aspects/pkg-plist
Modified:
head/devel/py-aspects/Makefile
Modified: head/devel/py-aspects/Makefile
==============================================================================
--- head/devel/py-aspects/Makefile Wed Feb 5 21:05:28 2014 (r342852)
+++ head/devel/py-aspects/Makefile Wed Feb 5 21:07:33 2014 (r342853)
@@ -14,33 +14,24 @@ COMMENT= Lightweight aspect oriented pro
LICENSE= LGPL21
-USES= gmake
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= python-${PORTNAME}
+PYDISTUTILS_AUTOPLIST= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
-EXAMPLESFILES= httpget_example.py timeout_advice.py timeout_example.py \
+PORTEXAMPLES= httpget_example.py timeout_advice.py timeout_example.py \
tracer_advice.py tracer_example.py typecheck_advice.py \
typecheck_example.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-NO_STAGE= yes
-do-build:
- @PYTHON="${PYTHON_CMD}" ${GMAKE} -C ${WRKSRC} check
+OPTIONS_DEFINE= EXAMPLES
+
+#regression-test: extract
+# @PYTHON="${PYTHON_CMD}" ${GMAKE} -C ${WRKSRC} check
-.if !defined(NOPORTEXAMPLES)
post-install:
- @${MKDIR} ${EXAMPLESDIR}
-.for f in ${EXAMPLESFILES}
- @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
-.endfor
-.endif
-
-.if !defined(BATCH)
- @${CAT} ${PKGMESSAGE}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list