summaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/portupgrade/Makefile')
-rw-r--r--ports-mgmt/portupgrade/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 07e30915e5ff..c6e0850a2257 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
-PORTVERSION= 20011015
+PORTVERSION= 20011024
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -70,6 +70,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
# Remove old database
${RM} -f /var/db/pkg/pkgdb.byfile.db
+ if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
+ fi
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}