2018-09-04 12:46:09 +00:00

43 lines
940 B
Makefile

# $OpenBSD: Makefile,v 1.67 2018/09/04 12:46:27 espie Exp $
COMMENT= wiki and bug tracking system for software projects
MODPY_EGG_VERSION=1.2.3
PORTROACH= limitw:1,even
DISTNAME= Trac-${MODPY_EGG_VERSION:S/post/.post/}
PKGNAME= trac-${MODPY_EGG_VERSION:S/post/pl/}
CATEGORIES= www devel
REVISION= 0
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
HOMEPAGE= https://trac.edgewall.org/
MASTER_SITES= https://ftp.edgewall.org/pub/trac/
MODPY_SETUPTOOLS= Yes
# BSD
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
COMMON_DEPS= devel/py-babel>=0.9.6 \
www/py-genshi>=0.6
RUN_DEPENDS= ${COMMON_DEPS} \
devel/subversion,-python \
textproc/py-docutils \
textproc/py-pygments
BUILD_DEPENDS= ${COMMON_DEPS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/trac
cd ${WRKSRC} && pax -rw contrib/ ${PREFIX}/share/examples/trac
do-test:
@cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} ./trac/test.py
.include <bsd.port.mk>