1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/www/trac-mercurial/Makefile
Brooks Davis 3e3e934c15 I no longer maintain any Trac installations so drop all my Trac module
ports and clean up the port headers.
2013-02-28 17:06:36 +00:00

34 lines
856 B
Makefile

# $FreeBSD$
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
PORTVERSION= 0.12.0.1
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= LOCAL/pgollucci
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= Plugin to use Mercurial instead of Subversion in Trac
RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial \
tracd:${PORTSDIR}/www/trac
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracMercurial
PYDISTUTILS_PKGVERSION= 0.12.0.23dev
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.if defined(BOOTSTRAP)
do-fetch:
${MKDIR} ${WRKDIR}
svn export http://svn.edgewall.org/repos/trac/plugins/0.12/mercurial-plugin ${WRKSRC}
${MKDIR} ${_DISTDIR}
cd ${WRKDIR} && \
tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
.include <bsd.port.mk>