Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 16:37:50 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304278 - head/ports-mgmt/portupgrade-devel
Message-ID:  <201209141637.q8EGbowF062557@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Sep 14 16:37:49 2012
New Revision: 304278
URL: http://svn.freebsd.org/changeset/ports/304278

Log:
  - Switch to USE_GITHUB/GH as the primary MASTER_SITE as it
    does properly work on non-tagged commits
  - Fix plist for packages by creating %%RUBY_SITELIBDIR%%/pkgtools
    in PREFIX

Modified:
  head/ports-mgmt/portupgrade-devel/Makefile
  head/ports-mgmt/portupgrade-devel/distinfo
  head/ports-mgmt/portupgrade-devel/pkg-plist

Modified: head/ports-mgmt/portupgrade-devel/Makefile
==============================================================================
--- head/ports-mgmt/portupgrade-devel/Makefile	Fri Sep 14 16:30:37 2012	(r304277)
+++ head/ports-mgmt/portupgrade-devel/Makefile	Fri Sep 14 16:37:49 2012	(r304278)
@@ -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.
 
 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

Modified: head/ports-mgmt/portupgrade-devel/distinfo
==============================================================================
--- head/ports-mgmt/portupgrade-devel/distinfo	Fri Sep 14 16:30:37 2012	(r304277)
+++ head/ports-mgmt/portupgrade-devel/distinfo	Fri Sep 14 16:37:49 2012	(r304278)
@@ -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

Modified: head/ports-mgmt/portupgrade-devel/pkg-plist
==============================================================================
--- head/ports-mgmt/portupgrade-devel/pkg-plist	Fri Sep 14 16:30:37 2012	(r304277)
+++ head/ports-mgmt/portupgrade-devel/pkg-plist	Fri Sep 14 16:37:49 2012	(r304278)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209141637.q8EGbowF062557>