openbsd-ports/www/trac/Makefile
alek 24e6dc7094 Update to 0.9.5
From Will Maier via Ben Lovett <ben@tilderoot.com>
2006-06-06 09:32:56 +00:00

38 lines
925 B
Makefile

# $OpenBSD: Makefile,v 1.4 2006/06/06 09:32:56 alek Exp $
COMMENT= "enhanced wiki and bug tracking system for software projects"
DISTNAME= trac-0.9.5
CATEGORIES= www devel
MAINTAINER= Ben Lovett <ben@tilderoot.com>
HOMEPAGE= http://projects.edgewall.com/trac/
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
RUN_DEPENDS= ::databases/py-sqlite \
::devel/subversion,-python \
::textproc/py-docutils \
::www/clearsilver,python
BUILD_DEPENDS= ${RUN_DEPENDS}
post-install:
@perl -pi -e 's#${WRKINST}##' ${WRKSRC}/trac/siteconfig.py
@${INSTALL_SCRIPT} ${WRKSRC}/trac/siteconfig.py \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/trac/
do-regress:
@cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} ./trac/test.py
.include <bsd.port.mk>