summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-06-08 18:18:52 +0000
committerknu <knu@FreeBSD.org>2002-06-08 18:18:52 +0000
commit1b5a65c7d5ee1083288681fc461a9e5294d62d99 (patch)
treed8e70b0d14f1277f743e5cd09218e3ddf29d13e2 /ports-mgmt
parent5024b41254465c4a71c444c1efab91751bd9979a (diff)
downloadFreeBSD-ports-1b5a65c7d5ee1083288681fc461a9e5294d62d99.zip
FreeBSD-ports-1b5a65c7d5ee1083288681fc461a9e5294d62d99.tar.gz
devel/ruby-fnmatch has been replaced with lang/ruby16-shim-ruby18.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile11
-rw-r--r--ports-mgmt/portupgrade-devel/distinfo1
-rw-r--r--ports-mgmt/portupgrade/Makefile11
-rw-r--r--ports-mgmt/portupgrade/distinfo1
4 files changed, 18 insertions, 6 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 530f4f0..ae2ac7d 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -15,13 +15,12 @@ DISTNAME= pkgtools-${PORTVERSION}
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
-#PATCHFILES= ${DISTNAME}-yyyymmdd.diff.bz2
+PATCHFILES= ${DISTNAME}-shim.diff.bz2
PATCH_DIST_STRIP= -p1
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
- ${RUBY_SITEARCHLIBDIR}/fnmatch.so:${PORTSDIR}/devel/ruby-fnmatch \
${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 \
${LOCALBASE}/sbin/pkg_tarup:${PORTSDIR}/sysutils/pkg_tarup
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
@@ -53,9 +52,15 @@ INSTALL_TARGET= install
INSTALL_TARGET+= install-doc
.endif
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} < 1.7
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
+.endif
+
post-install:
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ports-mgmt/portupgrade-devel/distinfo b/ports-mgmt/portupgrade-devel/distinfo
index aefe27b..002bef5 100644
--- a/ports-mgmt/portupgrade-devel/distinfo
+++ b/ports-mgmt/portupgrade-devel/distinfo
@@ -1 +1,2 @@
MD5 (pkgtools-20020429.tar.bz2) = 941033a2e05ef6bc1409fff5442b572e
+MD5 (pkgtools-20020429-shim.diff.bz2) = 74c33907968ce5b8cb6ebc6c15498fd8
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 530f4f0..ae2ac7d 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -15,13 +15,12 @@ DISTNAME= pkgtools-${PORTVERSION}
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
-#PATCHFILES= ${DISTNAME}-yyyymmdd.diff.bz2
+PATCHFILES= ${DISTNAME}-shim.diff.bz2
PATCH_DIST_STRIP= -p1
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
- ${RUBY_SITEARCHLIBDIR}/fnmatch.so:${PORTSDIR}/devel/ruby-fnmatch \
${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 \
${LOCALBASE}/sbin/pkg_tarup:${PORTSDIR}/sysutils/pkg_tarup
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
@@ -53,9 +52,15 @@ INSTALL_TARGET= install
INSTALL_TARGET+= install-doc
.endif
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} < 1.7
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
+.endif
+
post-install:
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ports-mgmt/portupgrade/distinfo b/ports-mgmt/portupgrade/distinfo
index aefe27b..002bef5 100644
--- a/ports-mgmt/portupgrade/distinfo
+++ b/ports-mgmt/portupgrade/distinfo
@@ -1 +1,2 @@
MD5 (pkgtools-20020429.tar.bz2) = 941033a2e05ef6bc1409fff5442b572e
+MD5 (pkgtools-20020429-shim.diff.bz2) = 74c33907968ce5b8cb6ebc6c15498fd8
OpenPOWER on IntegriCloud