aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2010-07-30 03:13:27 +0800
committerbrooks <brooks@FreeBSD.org>2010-07-30 03:13:27 +0800
commitc6e78136ea5c0e5de30c757c9a9afdbbf17693dc (patch)
tree7205fef0fd2bdb8ccaae44a3f07e3d1c774ae3e6
parent8b806bb9f97fbdced6ffa175e014db2f019edb80 (diff)
downloadfreebsd-ports-gnome-c6e78136ea5c0e5de30c757c9a9afdbbf17693dc.tar.gz
freebsd-ports-gnome-c6e78136ea5c0e5de30c757c9a9afdbbf17693dc.tar.zst
freebsd-ports-gnome-c6e78136ea5c0e5de30c757c9a9afdbbf17693dc.zip
Upgrade to 0.11.0.9 which will work with recent versions of Mercurial.
General cleanups.
-rw-r--r--www/trac-mercurial/Makefile15
-rw-r--r--www/trac-mercurial/distinfo6
2 files changed, 13 insertions, 8 deletions
diff --git a/www/trac-mercurial/Makefile b/www/trac-mercurial/Makefile
index 8abaa7130ef1..f02c2f3a26ce 100644
--- a/www/trac-mercurial/Makefile
+++ b/www/trac-mercurial/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
-PORTVERSION= 0.11.0.7
-PORTREVISION= 2
+PORTVERSION= 0.11.0.9
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
+DIST_SUBDIR= trac
MAINTAINER= brooks@freebsd.org
COMMENT= A plugin to use Mercurial instead of Subversion in Trac
@@ -25,12 +25,17 @@ USE_PYTHON= yes
NO_BUILD= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TracMercurial
-WRKSRC= ${WRKDIR}/${PORTNAME}plugin
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-do-build:
- @${DO_NADA}
+.if defined(BOOTSTRAP)
+do-fetch:
+ ${MKDIR} ${WRKDIR}
+ svn export http://svn.edgewall.org/repos/trac/plugins/0.11/mercurial-plugin ${WRKSRC}
+ ${MKDIR} ${_DISTDIR}
+ cd ${WRKDIR} && \
+ tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
+.endif
.include <bsd.port.mk>
diff --git a/www/trac-mercurial/distinfo b/www/trac-mercurial/distinfo
index 748e26aecd87..2caea53c6ef3 100644
--- a/www/trac-mercurial/distinfo
+++ b/www/trac-mercurial/distinfo
@@ -1,3 +1,3 @@
-MD5 (mercurialplugin-0.11.0.7.tar.gz) = 0e9966e495b8d712927041409c110bd7
-SHA256 (mercurialplugin-0.11.0.7.tar.gz) = c24e43b1c7080c8f30972e1baf8664b0b7807e5dcf4b6d276c3612b48e004914
-SIZE (mercurialplugin-0.11.0.7.tar.gz) = 20064
+MD5 (trac/mercurialplugin-0.11.0.9.tar.gz) = a8fa05f26d51642e727b3e676d727620
+SHA256 (trac/mercurialplugin-0.11.0.9.tar.gz) = 49af3e30da25835c93772970085104b4d661069d856b6e7fe35aab08df92b826
+SIZE (trac/mercurialplugin-0.11.0.9.tar.gz) = 18065