aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade-devel
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-09-14 16:37:49 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-09-14 16:37:49 +0000
commit8b850ca67b8b0bbc07aae4043d6ca66f71300919 (patch)
tree6182d5a24bb25796e13fb12f23b16f86dd2f50b7 /ports-mgmt/portupgrade-devel
parentcd64754fd66f712c0edd593f5d999b3e05f0d46b (diff)
downloadports-8b850ca67b8b0bbc07aae4043d6ca66f71300919.tar.gz
ports-8b850ca67b8b0bbc07aae4043d6ca66f71300919.zip
Notes
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile11
-rw-r--r--ports-mgmt/portupgrade-devel/distinfo4
-rw-r--r--ports-mgmt/portupgrade-devel/pkg-plist2
3 files changed, 10 insertions, 7 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index b988c03e7a8a..92431db07b72 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,12 +7,12 @@
PORTNAME= portupgrade
PORTVERSION= 20120827
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= ports-mgmt
-MASTER_SITES= http://github.com/pkgtools/pkgtools/tarball/${GITVERSION}/ \
+MASTER_SITES= GH \
http://mirror.shatow.net/freebsd/pkgtools/
PKGNAMESUFFIX= -devel
-DISTNAME= pkgtools-pkgtools-${GITVERSION}
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= FreeBSD ports/packages management tool (devel version)
@@ -23,8 +23,11 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
CONFLICTS_INSTALL= portupgrade-[0-9]*
-FETCH_ARGS= -Fpr
-GITVERSION= 595d51a
+USE_GITHUB= yes
+GH_ACCOUNT= pkgtools
+GH_PROJECT= pkgtools
+GH_COMMIT= 595d51a
+GH_TAGNAME= ${GH_COMMIT}
DIST_SUBDIR= ${PORTNAME}
USE_RUBY= yes
diff --git a/ports-mgmt/portupgrade-devel/distinfo b/ports-mgmt/portupgrade-devel/distinfo
index 4f3fd4faedf5..703fffa12460 100644
--- a/ports-mgmt/portupgrade-devel/distinfo
+++ b/ports-mgmt/portupgrade-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (portupgrade/pkgtools-pkgtools-595d51a.tar.gz) = 2583fc442ee7f5a24f2d33720b4f60f6c5c8b10195357df0847f99792aa4228c
-SIZE (portupgrade/pkgtools-pkgtools-595d51a.tar.gz) = 104762
+SHA256 (portupgrade/portupgrade-20120827.tar.gz) = 2583fc442ee7f5a24f2d33720b4f60f6c5c8b10195357df0847f99792aa4228c
+SIZE (portupgrade/portupgrade-20120827.tar.gz) = 104762
diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist
index d3ab6b4f1df1..149413f6b144 100644
--- a/ports-mgmt/portupgrade-devel/pkg-plist
+++ b/ports-mgmt/portupgrade-devel/pkg-plist
@@ -15,7 +15,7 @@ sbin/portsclean
sbin/portsdb
sbin/portupgrade
sbin/portversion
-@exec /bin/mkdir -p %%RUBY_SITELIBDIR%%/pkgtools
+@exec /bin/mkdir -p %D/%%RUBY_SITELIBDIR%%/pkgtools
%%RUBY_SITELIBDIR%%/pkgtools/pkg.rb
%%RUBY_SITELIBDIR%%/pkgtools/pkgdb.rb
%%RUBY_SITELIBDIR%%/pkgtools/pkgdbtools.rb