diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2008-11-26 23:57:18 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2008-11-26 23:57:18 +0000 |
commit | edf3e95718e305729f000f274d306d3394f7b853 (patch) | |
tree | 931cbd76268c5d137f97f44caaa27d139f47fd56 /www/trac-revtree | |
parent | db928b5589fda0665ac281ff87bc70d34ee2de5a (diff) | |
download | ports-edf3e95718e305729f000f274d306d3394f7b853.tar.gz ports-edf3e95718e305729f000f274d306d3394f7b853.zip |
Notes
Diffstat (limited to 'www/trac-revtree')
-rw-r--r-- | www/trac-revtree/Makefile | 35 | ||||
-rw-r--r-- | www/trac-revtree/pkg-message | 7 | ||||
-rw-r--r-- | www/trac-revtree/pkg-plist | 2 |
3 files changed, 43 insertions, 1 deletions
diff --git a/www/trac-revtree/Makefile b/www/trac-revtree/Makefile index 4337fd46c49c..d7e5f5d626d5 100644 --- a/www/trac-revtree/Makefile +++ b/www/trac-revtree/Makefile @@ -7,6 +7,7 @@ PORTNAME= revtree PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \ LOCAL/glarkin @@ -18,6 +19,9 @@ COMMENT= Graphical representation of an SVN repository RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac +OPTIONS= MINFOENH "Enable mergeinfo display enhancer" On \ + LOGENH "Enable log message display enhancer" Off + USE_ZIP= yes WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.11 @@ -28,7 +32,36 @@ PYDISTUTILS_PKGVERSION= ${PORTVERSION}dev PLIST_SUB+= EGGVERSION="${PORTVERSION}dev" PYTHONVERSION=${_PYTHON_VERSION} PYDISTUTILS_NOEGGINFO= yes +.include <bsd.port.pre.mk> + +.if defined(WITH_MINFOENH) +MINFOENH_VERSION= 0.2.1 +PLIST_SUB+= MINFOENH_EGGVERSION="${MINFOENH_VERSION}dev" +ENH1="" +.else +ENH1="@comment " +.endif +PLIST_SUB+= ENH1=${ENH1} + +.if defined(WITH_LOGENH) +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 defined(WITH_MINFOENH) + @( cd ${WRKSRC}/enhancers/mergeinfoenhancer ; \ + ${PYEASYINSTALL_CMD} . ) +.endif +.if defined(WITH_LOGENH) + @( cd ${WRKSRC}/enhancers/logenhancer ; \ + ${PYEASYINSTALL_CMD} . ) +.endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/trac-revtree/pkg-message b/www/trac-revtree/pkg-message index 935858e941d1..d137b89497bf 100644 --- a/www/trac-revtree/pkg-message +++ b/www/trac-revtree/pkg-message @@ -10,4 +10,11 @@ Next, visit: http://trac-hacks.org/wiki/RevtreePlugin#Configuration for additional configuration instructions. + +If you enabled the optional display enhancers, +please visit the following URLs for their +configuration instructions: + +http://trac-hacks.org/wiki/RevtreePlugin/MergeInfoEnhancer +http://trac-hacks.org/wiki/RevtreePlugin/LogEnhancer ************************************************** diff --git a/www/trac-revtree/pkg-plist b/www/trac-revtree/pkg-plist index 794fc2df9d97..6760ebd4c8c7 100644 --- a/www/trac-revtree/pkg-plist +++ b/www/trac-revtree/pkg-plist @@ -1 +1,3 @@ %%PYTHON_SITELIBDIR%%/TracRevtreePlugin-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg +%%ENH1%%%%PYTHON_SITELIBDIR%%/TracRevtreeMergeInfoEnhancer-%%MINFOENH_EGGVERSION%%-py%%PYTHONVERSION%%.egg +%%ENH2%%%%PYTHON_SITELIBDIR%%/TracRevtreeLogEnhancer-%%LOGENH_EGGVERSION%%-py%%PYTHONVERSION%%.egg |