mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
9bef23ecc2
With hat: portmgr
43 lines
1017 B
Makefile
43 lines
1017 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ldap
|
|
PORTVERSION= 0.7.0.${SVN_REVISION}
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= LOCAL/matthew
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= joneum@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>
|