mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
fb3520254a
- Trim header Reviewed by: beat, bapt, kwm
70 lines
1.7 KiB
Makefile
70 lines
1.7 KiB
Makefile
# New ports collection makefile for: trac-revtree
|
|
# Date created: Nov 10 2008
|
|
# Whom: glarkin
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= revtree
|
|
PORTVERSION= 0.6.4
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
|
|
LOCAL/glarkin
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= glarkin@FreeBSD.org
|
|
COMMENT= Graphical representation of an SVN repository
|
|
|
|
RUN_DEPENDS+= trac>=0.12:${PORTSDIR}/www/trac \
|
|
subversion>=0:${PORTSDIR}/devel/subversion
|
|
|
|
OPTIONS_DEFINE= MINFOENH LOGENH
|
|
OPTIONS_DEFAULT= MINFOENH
|
|
MINFOENH_DESC= Enable mergeinfo display enhancer
|
|
LOGENH_DESC= Enable log message display enhancer
|
|
|
|
USE_ZIP= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.12
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= TracRevtreePlugin
|
|
PYDISTUTILS_PKGVERSION= ${PORTVERSION}dev
|
|
PLIST_SUB+= EGGVERSION="${PORTVERSION}dev" PYTHONVERSION=${_PYTHON_VERSION}
|
|
PYDISTUTILS_NOEGGINFO= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMINFOENH}
|
|
MINFOENH_VERSION= 0.2.1
|
|
PLIST_SUB+= MINFOENH_EGGVERSION="${MINFOENH_VERSION}dev"
|
|
ENH1=""
|
|
.else
|
|
ENH1="@comment "
|
|
.endif
|
|
PLIST_SUB+= ENH1=${ENH1}
|
|
|
|
.if ${PORT_OPTIONS:MLOGENH}
|
|
LOGENH_VERSION= 0.2.0
|
|
PLIST_SUB+= LOGENH_EGGVERSION="${LOGENH_VERSION}dev"
|
|
ENH2=""
|
|
.else
|
|
ENH2="@comment "
|
|
.endif
|
|
PLIST_SUB+= ENH2=${ENH2}
|
|
|
|
post-install:
|
|
# Install the selected enhancer plugins
|
|
.if ${PORT_OPTIONS:MMINFOENH}
|
|
@( cd ${WRKSRC}/enhancers/mergeinfoenhancer ; \
|
|
${PYEASYINSTALL_CMD} . )
|
|
.endif
|
|
.if ${PORT_OPTIONS:MLOGENH}
|
|
@( cd ${WRKSRC}/enhancers/logenhancer ; \
|
|
${PYEASYINSTALL_CMD} . )
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|