Date: Fri, 15 Mar 2019 04:41:35 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495761 - head/www/py-bottle-cork Message-ID: <201903150441.x2F4fZBU058029@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903150441.x2F4fZBU058029>