summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 21:55:52 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 21:55:52 +0000
commit34ca3b60150f48ed64fcca416c775e4abef976ac (patch)
tree8b2744470eccd85a5f391a27719001b7358bc3ca /www
parentb4d64e49b3bba3bd361aa5b102a1db7139739e86 (diff)
downloadfreebsd-ports-34ca3b60150f48ed64fcca416c775e4abef976ac.zip
- update to 1.0.0.3 to fix support for mercurial >= 2.3.1 [1]
- add LICENSE (GPLv2) - do not use easy_install and convert to auto-generated packing list PR: 178196 Reported by: Gabor HALASZ <halasz.g@freemail.hu> [1] Submitted by: moto kawasaki <moto@kawasaki3.org> (based on)
Diffstat (limited to 'www')
-rw-r--r--www/trac-mercurial/Makefile28
-rw-r--r--www/trac-mercurial/distinfo4
2 files changed, 11 insertions, 21 deletions
diff --git a/www/trac-mercurial/Makefile b/www/trac-mercurial/Makefile
index 3409ce419d31..8ebc71c3d2c5 100644
--- a/www/trac-mercurial/Makefile
+++ b/www/trac-mercurial/Makefile
@@ -1,10 +1,9 @@
# $FreeBSD$
-PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
-PORTVERSION= 0.12.0.1
-PORTREVISION= 1
+PORTNAME= mercurial
+PORTVERSION= 1.0.0.3
CATEGORIES= www devel python
-MASTER_SITES= LOCAL/pgollucci
+MASTER_SITES= LOCAL/rm
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
@@ -12,22 +11,13 @@ DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= Plugin to use Mercurial instead of Subversion in Trac
-RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial \
- tracd:${PORTSDIR}/www/trac
+LICENSE= GPLv2
-USE_PYTHON= 2
-USE_PYDISTUTILS= easy_install
-PYDISTUTILS_PKGNAME= TracMercurial
-PYDISTUTILS_PKGVERSION= 0.12.0.23dev
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial \
+ tracd:${PORTSDIR}/www/trac
-.if defined(BOOTSTRAP)
-do-fetch:
- ${MKDIR} ${WRKDIR}
- svn export http://svn.edgewall.org/repos/trac/plugins/0.12/mercurial-plugin ${WRKSRC}
- ${MKDIR} ${_DISTDIR}
- cd ${WRKDIR} && \
- tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
-.endif
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.mk>
diff --git a/www/trac-mercurial/distinfo b/www/trac-mercurial/distinfo
index 857adb06b545..17567214e9d4 100644
--- a/www/trac-mercurial/distinfo
+++ b/www/trac-mercurial/distinfo
@@ -1,2 +1,2 @@
-SHA256 (trac/mercurialplugin-0.12.0.1.tar.gz) = 56d1663196b34d5664e45eeed2b3530b7ce4728ba284aa9af4b11d07d6e652d0
-SIZE (trac/mercurialplugin-0.12.0.1.tar.gz) = 20990
+SHA256 (trac/mercurialplugin-1.0.0.3.tar.gz) = 733f0e30c5b3e9521f72b755f471b8b8f9ae27f5643ab7ffb01d6ca4bcda2bc9
+SIZE (trac/mercurialplugin-1.0.0.3.tar.gz) = 26597