2008-06-09 18:05:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2008/06/09 22:05:49 fkr Exp $
|
2006-03-21 16:17:10 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= wiki and bug tracking system for software projects
|
2006-03-21 16:17:10 -05:00
|
|
|
|
2007-05-30 18:03:04 -04:00
|
|
|
DISTNAME= trac-0.10.4
|
2008-06-09 18:05:49 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-03-21 16:17:10 -05:00
|
|
|
CATEGORIES= www devel
|
|
|
|
|
|
|
|
MAINTAINER= Ben Lovett <ben@tilderoot.com>
|
|
|
|
|
2006-07-20 00:43:27 -04:00
|
|
|
HOMEPAGE= http://trac.edgewall.org/
|
2006-03-21 16:17:10 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.edgewall.com/pub/trac/ \
|
|
|
|
http://ftp.edgewall.com/pub/trac/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2008-06-05 02:09:37 -04:00
|
|
|
MY_DEPENDS= ::databases/py-sqlite2 \
|
2006-03-21 16:17:10 -05:00
|
|
|
::devel/subversion,-python \
|
|
|
|
::textproc/py-docutils \
|
|
|
|
::www/clearsilver,python
|
2007-08-02 18:36:47 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${MY_DEPENDS} \
|
|
|
|
::print/enscript
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${MY_DEPENDS}
|
2006-03-21 16:17:10 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@perl -pi -e 's#${WRKINST}##' ${WRKSRC}/trac/siteconfig.py
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/trac/siteconfig.py \
|
2006-06-06 05:32:56 -04:00
|
|
|
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/trac/
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} ./trac/test.py
|
2006-03-21 16:17:10 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|