1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/trac-downloads/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

38 lines
945 B
Makefile

# $FreeBSD$
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
PORTVERSION= ${TRAC_VERSION}.${PLUGIN_VERSION}.${SVN_REV}
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= Trac plugin providing a downloads section
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
TRAC_VERSION= 0.12
PLUGIN_VERSION= 0.3
SVN_REV= 10047
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracDownloads
PYDISTUTILS_PKGVERSION= ${PLUGIN_VERSION}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.if defined(BOOTSTRAP)
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} http://trac-hacks.org/svn/downloadsplugin/${TRAC_VERSION}/ ${WRKSRC}
${MKDIR} ${_DISTDIR}
cd ${WRKDIR} && \
tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
.include <bsd.port.mk>