aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/portupgrade/Makefile17
-rw-r--r--ports-mgmt/portupgrade/distinfo4
-rw-r--r--ports-mgmt/portupgrade/pkg-descr4
3 files changed, 15 insertions, 10 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index cb0bece35638..a8d7b5feda5c 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,13 +7,13 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.9.3
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= ports-mgmt
-MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
-DISTNAME= pkgtools-${DISTVERSION}
+MASTER_SITES= http://github.com/pkgtools/pkgtools/tarball/${GITVERSION}/
+DISTNAME= pkgtools-pkgtools-${GITVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bryan@shatow.net
COMMENT= FreeBSD ports/packages administration and management tool suite
OPTIONS= BDB4 "Use Berkeley DB >=2 as backend" on \
@@ -21,7 +21,9 @@ OPTIONS= BDB4 "Use Berkeley DB >=2 as backend" on \
CONFLICTS_INSTALL= portupgrade-devel-*
-USE_BZIP2= yes
+FETCH_ARGS= -Fpr
+GITVERSION= b99f3ce
+
USE_RUBY= yes
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
@@ -64,6 +66,11 @@ RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
.endif
+# parsedate is needed for date globbing
+.if ${RUBY_DEFAULT_VER} == "1.9"
+RUN_DEPENDS+= ${RUBY_SITELIBDIR}/parsedate.rb:${PORTSDIR}/devel/ruby-date2
+.endif
+
pre-extract:
.if !defined(WITH_BDB4) && !defined(WITH_BDB1)
@${ECHO_MSG} "================================================================="
diff --git a/ports-mgmt/portupgrade/distinfo b/ports-mgmt/portupgrade/distinfo
index 459180336757..4b3f51c610dc 100644
--- a/ports-mgmt/portupgrade/distinfo
+++ b/ports-mgmt/portupgrade/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pkgtools-2.4.9.3.tar.bz2) = a4492ee785822b2086c924a0857d627ebaba68d1a1d106c7e7839fe881a6c424
-SIZE (pkgtools-2.4.9.3.tar.bz2) = 79394
+SHA256 (pkgtools-pkgtools-b99f3ce.tar.gz) = bc60131071eb8b71493c1a0af756184ce4f5d535d971a60f7f1d02a4d0efb345
+SIZE (pkgtools-pkgtools-b99f3ce.tar.gz) = 98949
diff --git a/ports-mgmt/portupgrade/pkg-descr b/ports-mgmt/portupgrade/pkg-descr
index d0ba2902a9c8..a7fd331735f1 100644
--- a/ports-mgmt/portupgrade/pkg-descr
+++ b/ports-mgmt/portupgrade/pkg-descr
@@ -19,7 +19,5 @@ pkg_which: Checks which package a file came from quickly.
pkgdb: Manages and searches the package database.
pkgdu: Display a disk usage for installed packages.
-Author: Akinori MUSHA <knu@FreeBSD.org> (Not the current maintainer)
-Maintainer: freebsd-ruby mailing list <ruby@FreeBSD.org>
-WWW: https://github.com/stass/pkgtools
+WWW: http://pkgtools.github.com/
WWW: http://wiki.freebsd.org/portupgrade