aboutsummaryrefslogblamecommitdiff
path: root/www/trac-ldap/Makefile
blob: 4f50781699f8cd795290350da35eff78a026751f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                            
                                
                                                             











                                                                
                                    










                                                                         
                      
# $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:www/trac \
		trac-accountmanager>0: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: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 <bsd.port.mk>