diff options
Diffstat (limited to 'www/trac-devel/Makefile')
-rw-r--r-- | www/trac-devel/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/www/trac-devel/Makefile b/www/trac-devel/Makefile new file mode 100644 index 000000000000..20ada69f9690 --- /dev/null +++ b/www/trac-devel/Makefile @@ -0,0 +1,60 @@ +# $FreeBSD$ + +PORTNAME= trac +DISTVERSION= 1.3.2 +CATEGORIES= www devel python +MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ + ftp://ftp.edgewall.com/pub/trac/ +DISTNAME= Trac-${DISTVERSION} +PKGNAMESUFFIX= -devel + +MAINTAINER= joneum@FreeBSD.org +COMMENT= Enhanced wiki and issue tracking system for software projects + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +CONFLICTS_INSTALL= trac + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${FLAVOR} + +USES= python:-2.7 shebangfix +SHEBANG_FILES= 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= * + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCUTILS PYGMENTS TZ SVN EXAMPLES +OPTIONS_DEFAULT= DOCUTILS PYGMENTS TZ SVN SQLITE +OPTIONS_RADIO= DATABASE +OPTIONS_RADIO_DATABASE= PGSQL SQLITE +DOCUTILS_DESC= Allow additional text markup +PYGMENTS_DESC= Use generic syntax highlighter +TZ_DESC= Process Time Zones + +DOCUTILS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.14:textproc/py-docutils@${FLAVOR} +PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.2.0:textproc/py-pygments@${FLAVOR} +TZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR} +PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${FLAVOR} +SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR} +SVN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}subversion>0:devel/py-subversion@${FLAVOR} + +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) + +.include <bsd.port.mk> |