diff options
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 8 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/distinfo | 4 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/pkg-plist | 26 |
3 files changed, 22 insertions, 16 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 55ec2d363e4e..2f2094995012 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portupgrade -PORTVERSION= 20120501 +PORTVERSION= 20120511 PORTEPOCH= 3 CATEGORIES= ports-mgmt MASTER_SITES= http://github.com/pkgtools/pkgtools/tarball/${GITVERSION}/ \ @@ -24,7 +24,7 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb CONFLICTS_INSTALL= portupgrade-[0-9]* FETCH_ARGS= -Fpr -GITVERSION= d0d4b68 +GITVERSION= 2048f18 USE_RUBY= yes USE_LDCONFIG= ${PREFIX}/lib/compat/pkg @@ -55,8 +55,8 @@ INSTALL_TARGET+= install-doc .endif post-patch: .SILENT - ${REINPLACE_CMD} '/PREFIX/s:\(=[[:space:]]*\)\(.*/usr/local\):\1ENV["LOCALBASE"] || \2:' \ - ${WRKSRC}/lib/pkgdb.rb ${WRKSRC}/lib/pkgtools.rb + REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ + ${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb post-install: if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \ diff --git a/ports-mgmt/portupgrade-devel/distinfo b/ports-mgmt/portupgrade-devel/distinfo index 67f0c5faef30..63b7b93f6bbd 100644 --- a/ports-mgmt/portupgrade-devel/distinfo +++ b/ports-mgmt/portupgrade-devel/distinfo @@ -1,2 +1,2 @@ -SHA256 (pkgtools-pkgtools-d0d4b68.tar.gz) = 329579b6234837382bad45ab475d2250618e6829fc6d8a268a15534424e5b90f -SIZE (pkgtools-pkgtools-d0d4b68.tar.gz) = 99849 +SHA256 (pkgtools-pkgtools-2048f18.tar.gz) = 150727d88517f9fc2ecef1171103f8484dbf541b8adc7b7deab0bd90defe3b02 +SIZE (pkgtools-pkgtools-2048f18.tar.gz) = 101236 diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist index 5a0bea6a873f..17b077d20564 100644 --- a/ports-mgmt/portupgrade-devel/pkg-plist +++ b/ports-mgmt/portupgrade-devel/pkg-plist @@ -15,17 +15,23 @@ sbin/portsclean sbin/portsdb sbin/portupgrade sbin/portversion -%%RUBY_SITELIBDIR%%/pkg.rb -%%RUBY_SITELIBDIR%%/pkgdb.rb -%%RUBY_SITELIBDIR%%/pkgdbtools.rb -%%RUBY_SITELIBDIR%%/pkginfo.rb -%%RUBY_SITELIBDIR%%/pkgmisc.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkg.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgdb.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgdbtools.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkginfo.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgmisc.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgtools.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgtsort.rb +%%RUBY_SITELIBDIR%%/pkgtools/pkgversion.rb +%%RUBY_SITELIBDIR%%/pkgtools/portinfo.rb +%%RUBY_SITELIBDIR%%/pkgtools/ports.rb +%%RUBY_SITELIBDIR%%/pkgtools/portsdb.rb +%%RUBY_SITELIBDIR%%/pkgtools/revision.rb %%RUBY_SITELIBDIR%%/pkgtools.rb -%%RUBY_SITELIBDIR%%/pkgtsort.rb -%%RUBY_SITELIBDIR%%/pkgversion.rb -%%RUBY_SITELIBDIR%%/portinfo.rb -%%RUBY_SITELIBDIR%%/ports.rb -%%RUBY_SITELIBDIR%%/portsdb.rb +@dirrm %%RUBY_SITELIBDIR%%/pkgtools +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf |