freebsd-ports/www/trac-ldap/Makefile
Dmitry Marakasov bdb06fad8a www/trac-*: minor cleanup
- Don't use trac/plugin.mk which is now empty and unneeded
- Add some NO_ARCH'es
- Add/fix some LICENSEs and LICENSE_FILES
- Pet portlint
- Regenerate some patches

Approved by:	portmgr blanket
2016-05-29 01:29:08 +00:00

42 lines
1,019 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= 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>