Permalink
Browse files

- Fix OPTIONSFILE

- Support STAGEDIR
  • Loading branch information...
1 parent 2388c29 commit 073fc263ab09c9617dabf5b673eae8c9fae0295e @sunpoet sunpoet committed Nov 20, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 www/py-cssutils/Makefile
View
@@ -14,20 +14,20 @@ 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}
.include <bsd.port.options.mk>
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>

0 comments on commit 073fc26

Please sign in to comment.