blob: 2b5dbc9eaf9ee999f4eee21606734cc9196ae3fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.30 2008/04/11 15:27:22 abs Exp $
#
DISTNAME= trac-0.10.4
CATEGORIES= devel www
MASTER_SITES= http://ftp.edgewall.org/pub/trac/ \
ftp://ftp.edgewall.org/pub/trac/
MAINTAINER= epg@NetBSD.org
HOMEPAGE= http://trac.edgewall.org/
COMMENT= Subversion repository browser, wiki, and issue tracking system
DEPENDS+= ${PYPKGPREFIX}-clearsilver>=0.9.14:../../www/py-clearsilver
DEPENDS+= ${PYPKGPREFIX}-subversion>=1.1.0:../../devel/py-subversion
PKG_OPTIONS_VAR= PKG_OPTIONS.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}-psycopg2>=2:../../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
PYTHON_VERSIONS_INCOMPATIBLE= 15 20 21 22
EGDIR= ${PREFIX}/share/examples/trac
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/contrib/* ${EGDIR}
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|