aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-21 20:29:39 +0800
committerknu <knu@FreeBSD.org>2001-08-21 20:29:39 +0800
commitced7583e356550ae652121808fb4d93ab171179f (patch)
treef0e809456e34fabc8aa1271e91c59693e865b978 /ports-mgmt/portupgrade-devel
parent479734f9833a467ce695be95fdba9222ea881cb8 (diff)
downloadfreebsd-ports-graphics-ced7583e356550ae652121808fb4d93ab171179f.tar.gz
freebsd-ports-graphics-ced7583e356550ae652121808fb4d93ab171179f.tar.zst
freebsd-ports-graphics-ced7583e356550ae652121808fb4d93ab171179f.zip
Update to 20010821, with many improvements.
Overall: - Disregard -r and -R when -a is also specified; there is no need to recurse when you do with everything. - Fix a bug in -r and -R routines where it might fail in error if dependencies of a package were all wrong. [Caught by: Mamoru Iwaki <iwaki@bsp.bc.niigata-u.ac.jp>] - Fix the support for the case where PORTSDIR is a symlink. - Squeeze //'s. - Run `stty sane' before building each port, on interrupt, and before exit. - Accept portorigin_glob and pkgname_glob with paths, except for -x/--exclude. portupgrade: - Fix `portupgrade -Ni' (portinstall -i). - Skip ports and packages that once failed, and do not try to upgrade multiple packages of an origin. - If a port or a package failed to build or install, skip its dependents. This behavior can be overridden by the new option, -g/--go-on. pkgdepfix: - Backup +CONTENTS files before removing duplicates. portsclean: - Start implementing -L/--libclean. misc/tcsh/complete.sample: - Add a simple example of tcsh completion definitions. [Contributed by: kuwa@flab.fujitsu.co.jp]
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile14
-rw-r--r--ports-mgmt/portupgrade-devel/distinfo2
-rw-r--r--ports-mgmt/portupgrade-devel/pkg-plist3
3 files changed, 15 insertions, 4 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 9ad34ed8993..6342d2dc71b 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
-PORTVERSION= 20010820
+PORTVERSION= 20010821
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -43,6 +43,10 @@ MAN1= pkg_deinstall.1 \
MLINKS= portupgrade.1 portinstall.1
MANCOMPRESSED= yes
+DOCS= ChangeLog README
+
+EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
+
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
@@ -51,8 +55,12 @@ do-install:
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}/
+ ${MKDIR} ${EXAMPLESDIR}/tcsh
+ ${INSTALL_DATA} ${WRKSRC}/misc/tcsh/* ${EXAMPLESDIR}/tcsh/
+ ${MKDIR} ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/ports-mgmt/portupgrade-devel/distinfo b/ports-mgmt/portupgrade-devel/distinfo
index 5009e7bfff9..4aac249d80f 100644
--- a/ports-mgmt/portupgrade-devel/distinfo
+++ b/ports-mgmt/portupgrade-devel/distinfo
@@ -1 +1 @@
-MD5 (pkgtools-20010820.tar.gz) = 4bc7230b557484d58dcd2a9e881150df
+MD5 (pkgtools-20010821.tar.gz) = f2953747a37a116726dd386b378603ad
diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist
index aa69684dd16..fff0bd2b7e7 100644
--- a/ports-mgmt/portupgrade-devel/pkg-plist
+++ b/ports-mgmt/portupgrade-devel/pkg-plist
@@ -24,5 +24,8 @@ share/zsh/site-functions/_portupgrade
share/zsh/site-functions/_portversion
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
@unexec rmdir %D/share/zsh 2>/dev/null || true
+%%PORTDOCS%%share/examples/portupgrade/tcsh/complete.sample
+%%PORTDOCS%%@dirrm share/examples/portupgrade/tcsh
+%%PORTDOCS%%@dirrm share/examples/portupgrade
%%PORTDOCS%%share/doc/portupgrade/README
%%PORTDOCS%%@dirrm share/doc/portupgrade