aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-04-07 18:36:43 +0800
committerclsung <clsung@FreeBSD.org>2007-04-07 18:36:43 +0800
commitf3e301c744c93c60e8a86b4fecab6607effd9166 (patch)
tree137a8be0b2b9e44c4cfce507a767970c5f6a77f3 /www
parent2e75cfa7658b89bfdc2d1b03b4b7afc7f5eb4430 (diff)
downloadfreebsd-ports-gnome-f3e301c744c93c60e8a86b4fecab6607effd9166.tar.gz
freebsd-ports-gnome-f3e301c744c93c60e8a86b4fecab6607effd9166.tar.zst
freebsd-ports-gnome-f3e301c744c93c60e8a86b4fecab6607effd9166.zip
- install examples
- Trac comes with a contrib directory with miscellaneous scripts, including hooks to be installed into a Subversion repository. I'm requesting this change so the scripts will be installed along with the port. PR: ports/111243 Submitted by: Greg Larkin <glarkin_AT_sourcehosting dot net>
Diffstat (limited to 'www')
-rw-r--r--www/trac/Makefile6
-rw-r--r--www/trac/distinfo6
-rw-r--r--www/trac/pkg-plist9
3 files changed, 17 insertions, 4 deletions
diff --git a/www/trac/Makefile b/www/trac/Makefile
index 294817f5f0ab..f9b608d626e8 100644
--- a/www/trac/Makefile
+++ b/www/trac/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= trac
-PORTVERSION= 0.10.3.1
+PORTVERSION= 0.10.3
+PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \
ftp://ftp.edgewall.com/pub/trac/
@@ -36,10 +37,13 @@ x-generate-plist:
;s,@dirrm share/man(/.*)?$$,,g \
;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g \
;s,share/trac,%%DATADIR%%,g \
+ ;s,share/examples/trac,%%EXAMPLESDIR%%,g \
;s,@dirrm (%%PYTHON_SITELIBDIR%%|${PYTHON_LIBDIR:S,${PYTHONBASE}/,,})$$,,g \
' | ${TR} -s '\n') > temp-pkg-plist
post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/contrib/* ${EXAMPLESDIR}
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
diff --git a/www/trac/distinfo b/www/trac/distinfo
index 2198af3e1933..7e53d24c5566 100644
--- a/www/trac/distinfo
+++ b/www/trac/distinfo
@@ -1,3 +1,3 @@
-MD5 (trac-0.10.3.1.tar.gz) = b625af0ca7cab8b7f79d92778efd6d7d
-SHA256 (trac-0.10.3.1.tar.gz) = 35cc090d6338a8aae8a902e4b41782a140284381baa9474051ac27fc89261476
-SIZE (trac-0.10.3.1.tar.gz) = 443713
+MD5 (trac-0.10.3.tar.gz) = 354cca575cffc732f2fb8015b5c60b50
+SHA256 (trac-0.10.3.tar.gz) = b0d5826ff502172fec68d183088e1ac794369e848a541c031eeb53c3fe19da90
+SIZE (trac-0.10.3.tar.gz) = 440811
diff --git a/www/trac/pkg-plist b/www/trac/pkg-plist
index 55e95fa8897e..9210e895e1f7 100644
--- a/www/trac/pkg-plist
+++ b/www/trac/pkg-plist
@@ -297,6 +297,14 @@ bin/tracd
%%PYTHON_SITELIBDIR%%/trac/wiki/web_ui.py
%%PYTHON_SITELIBDIR%%/trac/wiki/web_ui.pyc
%%PYTHON_SITELIBDIR%%/trac/wiki/web_ui.pyo
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/bugzilla2trac.py
+%%EXAMPLESDIR%%/emailfilter.py
+%%EXAMPLESDIR%%/htdigest.py
+%%EXAMPLESDIR%%/migrateticketmodel.py
+%%EXAMPLESDIR%%/sourceforge2trac.py
+%%EXAMPLESDIR%%/trac-post-commit-hook
+%%EXAMPLESDIR%%/trac-pre-commit-hook
%%DATADIR%%/cgi-bin/trac.cgi
%%DATADIR%%/cgi-bin/trac.fcgi
%%DATADIR%%/htdocs/README
@@ -433,6 +441,7 @@ bin/tracd
@dirrm %%DATADIR%%/conf
@dirrm %%DATADIR%%/cgi-bin
@dirrm %%DATADIR%%
+@dirrm %%EXAMPLESDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/trac/wiki
@dirrm %%PYTHON_SITELIBDIR%%/trac/web
@dirrm %%PYTHON_SITELIBDIR%%/trac/versioncontrol/web_ui