Date: Sun, 29 May 2016 01:22:27 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416080 - head/www/trac Message-ID: <201605290122.u4T1MRgW090630@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun May 29 01:22:26 2016 New Revision: 416080 URL: https://svnweb.freebsd.org/changeset/ports/416080 Log: - No need to set HOME in MAKE_ENV, it's already done by the framework - Switch to options helpers - Add LICENSE_FILE - Pet portlint Modified: head/www/trac/Makefile head/www/trac/plugin.mk Modified: head/www/trac/Makefile ============================================================================== --- head/www/trac/Makefile Sun May 29 01:22:00 2016 (r416079) +++ head/www/trac/Makefile Sun May 29 01:22:26 2016 (r416080) @@ -12,13 +12,27 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Enhanced wiki and issue tracking system for software projects LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.5:devel/py-babel \ ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:textproc/py-genshi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.5:devel/py-babel \ ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:textproc/py-genshi -OPTIONS_DEFINE= DOCUTILS PYGMENTS TZ SVN +USES= python:-2.7 shebangfix +SHEBANG_FILES= contrib/cgi-bin/trac.fcgi contrib/cgi-bin/trac.cgi \ + trac/tests/functional/better_twill.py trac/tests/functional/tester.py \ + trac/tests/functional/testenv.py trac/tests/functional/compat.py \ + trac/tests/functional/__init__.py contrib/emailfilter.py \ + contrib/checkwiki.py contrib/htpasswd.py +USE_PYTHON= distutils autoplist +USE_RC_SUBR= tracd +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} + +PORTEXAMPLES= * +PORTDATA= * + +OPTIONS_DEFINE= DOCUTILS PYGMENTS TZ SVN EXAMPLES OPTIONS_DEFAULT= DOCUTILS PYGMENTS TZ SVN SQLITE OPTIONS_RADIO= DATABASE OPTIONS_RADIO_DATABASE= PGSQL SQLITE @@ -33,25 +47,13 @@ PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFI SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 SVN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}subversion>0:devel/py-subversion -PORTEXAMPLES= * -PORTDATA= * -MAKE_ENV= HOME=/dev/null - -USES= python:-2.7 shebangfix -SHEBANG_FILES= contrib/cgi-bin/trac.fcgi contrib/cgi-bin/trac.cgi \ - trac/tests/functional/better_twill.py trac/tests/functional/tester.py \ - trac/tests/functional/testenv.py trac/tests/functional/compat.py \ - trac/tests/functional/__init__.py contrib/emailfilter.py \ - contrib/checkwiki.py contrib/htpasswd.py -USE_PYTHON= distutils autoplist -USE_RC_SUBR= tracd -SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} - post-install: + @${MKDIR} ${STAGEDIR}${DATADIR}/cgi-bin + ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/* ${STAGEDIR}${DATADIR}/cgi-bin + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sample-plugins ${FIND} ${WRKSRC}/contrib -type f -maxdepth 1 -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/ \; (cd ${WRKSRC}/sample-plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/sample-plugins) - @${MKDIR} ${STAGEDIR}${DATADIR}/cgi-bin - ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/* ${STAGEDIR}${DATADIR}/cgi-bin .include <bsd.port.mk> Modified: head/www/trac/plugin.mk ============================================================================== --- head/www/trac/plugin.mk Sun May 29 01:22:00 2016 (r416079) +++ head/www/trac/plugin.mk Sun May 29 01:22:26 2016 (r416080) @@ -1,6 +1 @@ -# needed to avoid polluting /root with .subversion/ leftovers, -# which will cause package builders to complain on staging. -# -# www/trac issues some svn command on installing certain plugins, -# if it was built with the SVN option enabled -MAKE_ENV+= HOME=/dev/null +# remove me
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605290122.u4T1MRgW090630>