blob: 6dfa79d7ff6c5850292d7bb49e910dd42f34b900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $FreeBSD$
PORTNAME= downloads
PORTVERSION= ${TRAC_VERSION}.${PLUGIN_VERSION}.${SVN_REV}
PORTREVISION= 2
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
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.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 "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>
|