aboutsummaryrefslogtreecommitdiff
path: root/sysutils/portupgrade
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-01-25 16:49:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-01-25 16:49:10 +0000
commitf59f83b0169b3001fb2817e191c64d5d8986beff (patch)
treefabf4b6237c2286027d2427e99a7cfbb73971e9e /sysutils/portupgrade
parent4923f5b5a5c9b84912c7c536e5037ac039fb32a5 (diff)
downloadports-f59f83b0169b3001fb2817e191c64d5d8986beff.tar.gz
ports-f59f83b0169b3001fb2817e191c64d5d8986beff.zip
Notes
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r--sysutils/portupgrade/Makefile2
-rw-r--r--sysutils/portupgrade/pkg-plist3
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 1d5044503ab2..7cf8b1ab25b3 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.2.2
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -89,5 +90,6 @@ post-install: install-ldconfig-file
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
fi
+ ${MKDIR} ${PREFIX}/lib/compat/pkg
.include <bsd.port.post.mk>
diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist
index 8a14a576c813..0c7152887dbf 100644
--- a/sysutils/portupgrade/pkg-plist
+++ b/sysutils/portupgrade/pkg-plist
@@ -1,5 +1,6 @@
@exec /bin/mkdir -p %D/lib/compat/pkg
-@unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true
+@dirrmtry lib/compat/pkg
+@dirrmtry lib/compat
sbin/pkg_deinstall
sbin/pkg_fetch
sbin/pkg_glob