blob: 5f6d62d967f8b3db79815522fc81742d906bf823 (
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
|
# $FreeBSD$
PORTNAME= ldap
PORTVERSION= 0.7.0.${SVN_REVISION}
CATEGORIES= www devel python
MASTER_SITES= LOCAL/matthew
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Trac plugin to use LDAP to store permissions
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
trac-accountmanager>0:${PORTSDIR}/www/trac-accountmanager
NO_ARCH= yes
PORTSCOUT= ignore:1
SVN_REVISION= 15146
USES= python:-2.7
USE_PYTHON= distutils autoplist
# Maintainter targets below this point
# Retrieve the latest version from SVN and package in a tarball.
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
do-fetch:
${MKDIR} ${WRKDIR}
cd ${WRKDIR} && \
svn export --non-interactive \
--trust-server-cert-failures=unknown-ca \
--revision ${SVN_REVISION} \
https://trac-hacks.org/svn/${PORTNAME}plugin/0.12/ \
${DISTNAME}
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>
|