summaryrefslogtreecommitdiff
path: root/sysutils/portupgrade-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/portupgrade-devel')
-rw-r--r--sysutils/portupgrade-devel/Makefile13
-rw-r--r--sysutils/portupgrade-devel/distinfo1
-rw-r--r--sysutils/portupgrade-devel/pkg-plist1
3 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
index bd695cefa958..8870299f0497 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/portupgrade-devel/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= portupgrade
-PORTVERSION= 20011006
+PORTVERSION= 20011006.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
-DISTNAME= pkgtools-${PORTVERSION}
+DISTNAME= pkgtools-${PORTVERSION:R}
-#PATCH_SITES= ${MASTER_SITES}
-#PATCHFILES= pkgtools-${PORTVERSION}.1.patch.gz
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= pkgtools-${PORTVERSION}.patch.gz
MAINTAINER= knu@FreeBSD.org
@@ -40,9 +40,8 @@ NO_BUILD= yes
MAN1= pkg_deinstall.1 \
pkg_fetch.1 \
pkg_glob.1 \
- pkg_which.1 \
+ pkgdb.1 \
portcvsweb.1 \
- ports_glob.1 \
portsclean.1 \
portsdb.1 \
portupgrade.1 \
@@ -69,6 +68,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/misc/bash/* ${EXAMPLESDIR}/bash/
${MKDIR} ${EXAMPLESDIR}/tcsh
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
+ # Remove old database
+ ${RM} -f /var/db/pkg/pkgdb.byfile.db
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
diff --git a/sysutils/portupgrade-devel/distinfo b/sysutils/portupgrade-devel/distinfo
index 908784282e93..0537d15de4cf 100644
--- a/sysutils/portupgrade-devel/distinfo
+++ b/sysutils/portupgrade-devel/distinfo
@@ -1 +1,2 @@
MD5 (pkgtools-20011006.tar.gz) = d95cbaa0fbede15ca39c4b2bba38e024
+MD5 (pkgtools-20011006.1.patch.gz) = 7e19fac028f0e390e7df6d337f5c49e1
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist
index 3f101d5b4e58..198e7bfe16a0 100644
--- a/sysutils/portupgrade-devel/pkg-plist
+++ b/sysutils/portupgrade-devel/pkg-plist
@@ -40,3 +40,4 @@ share/zsh/site-functions/_portversion
%%PORTDOCS%%share/doc/portupgrade/ChangeLog
%%PORTDOCS%%share/doc/portupgrade/README
%%PORTDOCS%%@dirrm share/doc/portupgrade
+@exec rm -f /var/db/pkg/pkgdb.byfile.db