svn commit: r495761 - head/www/py-bottle-cork
Tobias Kortkamp
tobik at FreeBSD.org
Fri Mar 15 04:41:35 UTC 2019
Author: tobik
Date: Fri Mar 15 04:41:34 2019
New Revision: 495761
URL: https://svnweb.freebsd.org/changeset/ports/495761
Log:
www/py-bottle-cork: Fix options
Options helpers are ineffective when set after bsd.port.options.mk.
Convert the port to options helpers to fix this.
Reported by: tobik (in D19553)
Modified:
head/www/py-bottle-cork/Makefile
Modified: head/www/py-bottle-cork/Makefile
==============================================================================
--- head/www/py-bottle-cork/Makefile Fri Mar 15 04:41:06 2019 (r495760)
+++ head/www/py-bottle-cork/Makefile Fri Mar 15 04:41:34 2019 (r495761)
@@ -2,7 +2,7 @@
PORTNAME= bottle-cork
PORTVERSION= 0.12.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,17 +24,13 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= SQLITE MONGODB SQLALCHEMY EXAMPLES
-.include <bsd.port.options.mk>
-
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
MONGODB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/pymongo@${PY_FLAVOR}
SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR}
-.if ${PORT_OPTIONS:MEXAMPLES}
-post-install:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list