blob: 18be02034eb552e0a9f814f9d651349001e6fe62 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
|
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
PORTNAME= tags
DISTVERSION= 0.7.r${SVN_REV}
PORTREVISION= 2
CATEGORIES= www devel python
MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic tags frontend for trac
RUN_DEPENDS+= tracd:www/trac
USES= python:2 tar:bzip2
USE_PYTHON= distutils autoplist
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.pre.mk>
.if !defined(SVN_REV)
.if defined(BOOTSTRAP)
LANG= "C"
SVN_REV!= svn info http://trac-hacks.org/svn/tagsplugin/trunk/ | ${GREP} Revision | cut -d' ' -f2
.else
.include "Makefile.svn_rev"
.endif
.endif
.if defined(BOOTSTRAP) || defined(SVN_FETCH)
FETCH_DEPENDS+= svn:devel/subversion
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} \
http://trac-hacks.org/svn/tagsplugin/trunk/ ${WRKSRC}
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev
.if ${USER} == brooks
scp ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 \
freefall.freebsd.org:public_distfiles/
.endif
.endif
.include <bsd.port.post.mk>
|