diff options
author | obache <obache@pkgsrc.org> | 2007-10-13 08:00:53 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-10-13 08:00:53 +0000 |
commit | 8d01d4439d63369c2c8b2744808948a606a17a8f (patch) | |
tree | ca5ef5aa804571c004fd8fe7d6a75369203c4463 /www/ja-trac | |
parent | c8a06bffc187eff619b6eca5bee499a95c7c996a (diff) | |
download | pkgsrc-8d01d4439d63369c2c8b2744808948a606a17a8f.tar.gz |
Introduce same options for database engine as www/trac.
Depending sqlite version bump to 3,
need to update db, with dump/restore.
Bump PKGREVISION.
Diffstat (limited to 'www/ja-trac')
-rw-r--r-- | www/ja-trac/Makefile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/www/ja-trac/Makefile b/www/ja-trac/Makefile index 99dadf70bde..c0e322b8bd5 100644 --- a/www/ja-trac/Makefile +++ b/www/ja-trac/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2007/05/05 12:46:58 obache Exp $ +# $NetBSD: Makefile,v 1.13 2007/10/13 08:00:53 obache Exp $ # DISTNAME= trac-0.10.4-ja-1 PKGNAME= ja-trac-0.10.4.1 +PKGREVISION= 1 CATEGORIES= www devel MASTER_SITES= http://www.i-act.co.jp/project/products/downloads/ EXTRACT_SUFX= .zip @@ -15,9 +16,27 @@ CONFLICTS+= trac-[0-9]* DEPENDS+= ${PYPKGPREFIX}-clearsilver>=0.9.14:../../www/py-clearsilver DEPENDS+= ${PYPKGPREFIX}-subversion>=1.1.0:../../devel/py-subversion -DEPENDS+= ${PYPKGPREFIX}-{PgSQL>=2.4,psycopg>=1.1.14,sqlite>=0.5}:../../databases/py-sqlite DEPENDS+= ${PYPKGPREFIX}-jpCodecs>=1.4.11:../../converters/py-jpCodecs +PKG_OPTIONS_VAR= PKG_OPTOINS.trac +PKG_OPTIONS_REQUIRED_GROUPS= db +PKG_OPTIONS_GROUP.db= sqlite pgsql psycopg2 +PKG_SUGGESTED_OPTIONS= sqlite + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Msqlite) +DEPENDS+= ${PYPKGPREFIX}-sqlite2>=2:../../databases/py-sqlite2 +.endif +.if !empty(PKG_OPTIONS:Mpgsql) +DEPENDS+= ${PYPKGPREFIX}-PgSQL>=2.4:../../databases/py-PgSQL +.endif +.if !empty(PKG_OPTIONS:Mpsycopg2) +DEPENDS+= ${PYPKGPREFIX}-psycopg>=1.1.14:../../databases/py-psycopg2 +.endif +# MySQL is sort of supported but not recommended by upstream and hence +# omitted. + PYDISTUTILSPKG= YES PY_PATCHPLIST= YES PYTHON_PATCH_SCRIPTS= contrib/*.py contrib/*-hook |