aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:56 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:56 +0800
commit073fc263ab09c9617dabf5b673eae8c9fae0295e (patch)
tree093c1ee5fcc45dbb57f1e1f330fdafa64d4872fd
parent2388c298def1c048984ebcc15301b33db875adc8 (diff)
downloadfreebsd-ports-gnome-073fc263ab09c9617dabf5b673eae8c9fae0295e.tar.gz
freebsd-ports-gnome-073fc263ab09c9617dabf5b673eae8c9fae0295e.tar.zst
freebsd-ports-gnome-073fc263ab09c9617dabf5b673eae8c9fae0295e.zip
- Fix OPTIONSFILE
- Support STAGEDIR
-rw-r--r--www/py-cssutils/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile
index 07a470e3cfc8..216701bbedc2 100644
--- a/www/py-cssutils/Makefile
+++ b/www/py-cssutils/Makefile
@@ -14,11 +14,11 @@ COMMENT= CSS Cascading Style Sheets library for Python
LICENSE= LGPL3
OPTIONS_DEFINE= EXAMPLES
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-NO_STAGE= yes
-USE_ZIP= yes
-USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
+USE_PYTHON= yes
+USE_ZIP= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
@@ -26,8 +26,8 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>