blob: d91b6e293e107bf786a4dbb8a0be516506dc6c4c (
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.42 2014/05/17 16:10:49 wiz Exp $
#
DISTNAME= Trac-1.0.ja1
PKGNAME= ja-${DISTNAME:tl:S/.ja/pl/}
PKGREVISION= 1
CATEGORIES= www devel
MASTER_SITES= http://www.i-act.co.jp/project/products/downloads/
EXTRACT_SUFX= .zip
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.i-act.co.jp/project/products/products.html
COMMENT= Trac issue tracking system with Japanese localization
LICENSE= modified-bsd
CONFLICTS+= trac-[0-9]*
USE_LANGUAGES= # none
USE_TOOLS+= pax
DEPENDS+= ${PYPKGPREFIX}-genshi>=0.6:../../www/py-genshi
DEPENDS+= ${PYPKGPREFIX}-babel>=0.9.5:../../devel/py-babel
REPLACE_PYTHON= contrib/cgi-bin/trac.cgi contrib/cgi-bin/trac.fcgi
REPLACE_PYTHON+=contrib/*.py contrib/*-hook contrib/workflow/*.py
REPLACE_PYTHON+=trac/admin/templates/deploy_trac.* trac/tests/functional/*.py
.include "options.mk"
EGDIR= share/examples/trac
INSTALLATION_DIRS+= libexec/cgi-bin ${EGDIR}
post-install:
.for cgi in trac.cgi trac.fcgi
${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/${cgi} ${DESTDIR}${PREFIX}/libexec/cgi-bin
.endfor
cd ${WRKSRC}/contrib && \
pax -rw -pp -pm . ${DESTDIR}${PREFIX}/${EGDIR}
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
# deploy template files
CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/trac/admin/templates/deploy_*.*gi
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|