From owner-svn-ports-all@freebsd.org Sun May 29 01:22:28 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ECC3B50D24; Sun, 29 May 2016 01:22:28 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A7E11DB7; Sun, 29 May 2016 01:22:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4T1MRUq090633; Sun, 29 May 2016 01:22:27 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4T1MRgW090630; Sun, 29 May 2016 01:22:27 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605290122.u4T1MRgW090630@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 29 May 2016 01:22:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416080 - head/www/trac X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 01:22:28 -0000 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 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