aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2009-09-19 06:39:18 +0800
committerflz <flz@FreeBSD.org>2009-09-19 06:39:18 +0800
commit9ac8ea42243cdcdd108f6b7d3052b7f1a6ef38d0 (patch)
tree2d63e2ac6792c3c7c13d1b65d250e333f74d0c6b /devel
parentfeb3d7b42eea909ae82467d4e07c270d674b12e8 (diff)
downloadfreebsd-ports-gnome-9ac8ea42243cdcdd108f6b7d3052b7f1a6ef38d0.tar.gz
freebsd-ports-gnome-9ac8ea42243cdcdd108f6b7d3052b7f1a6ef38d0.tar.zst
freebsd-ports-gnome-9ac8ea42243cdcdd108f6b7d3052b7f1a6ef38d0.zip
Fix fetching.
Reported by: miwi Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/rbtools/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/rbtools/Makefile b/devel/rbtools/Makefile
index 59206ed2a20d..3b665aefae10 100644
--- a/devel/rbtools/Makefile
+++ b/devel/rbtools/Makefile
@@ -5,11 +5,12 @@
# $FreeBSD$
#
-PORTNAME= rbtools
+PORTNAME= ${ORIGNAME:L}
DISTVERSION= 0.2beta1
CATEGORIES= devel
-MASTER_SITES= http://downloads.review-board.org/releases/
-DISTNAME= RBTools-${DISTVERSION}
+MASTER_SITES= http://downloads.review-board.org/releases/${ORIGNAME}/${DISTVERSION:C/[a-z].*//}/
+DISTNAME= ${ORIGNAME}-${DISTVERSION}
+ORIGNAME= RBTools
MAINTAINER= flz@FreeBSD.org
COMMENT= ReviewBoard Toolset
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.4:${PORTSDIR}/devel/py-simpl
USE_PYTHON= 2.4+
USE_PYDISTUTILS= easy_install
-PYDISTUTILS_PKGNAME= RBTools
+PYDISTUTILS_PKGNAME= ${ORIGNAME}
PYDISTUTILS_PKGVERSION= ${DISTVERSION}
.include <bsd.port.mk>