From 0a474baf90aa9588f98b1e29a16abb134b6ad6f6 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Thu, 24 Feb 2005 01:29:14 +0000 Subject: sysutils/portmanager update to 0.2.8 1) Incorporated Florent Thoumie's suggestion of adding pkg-message so pkg users may also see it. 2) added handling of ports that conflict with ports that are being upgraded, inspired by "Brian John" 3) Added percent done message to xterm title bar as requested by 4) port is repackaged because too many changes to configure.ac for a patch to be feasable PR: 77942 Submitted by: Michael C. Shultz --- ports-mgmt/portmanager/Makefile | 38 +++++++++++++------------------------- ports-mgmt/portmanager/distinfo | 4 ++-- ports-mgmt/portmanager/pkg-message | 18 ++++++++++++++++++ ports-mgmt/portmanager/pkg-plist | 1 + 4 files changed, 34 insertions(+), 27 deletions(-) create mode 100644 ports-mgmt/portmanager/pkg-message (limited to 'ports-mgmt/portmanager') diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile index fcfeacb98d0c..646dc4adb8be 100644 --- a/ports-mgmt/portmanager/Makefile +++ b/ports-mgmt/portmanager/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portmanager -PORTVERSION= 0.2.7 +PORTVERSION= 0.2.8 PORTREVISION= 0 #----------------------------------------- #for local use, remove before submitting PR @@ -55,37 +55,25 @@ CONFIGURE_ARGS+= --with-debug=yes INSTALLS_SHLIB= yes USE_REINPLACE= yes -# Need INSTALL_TARGET to install ${PREFIX}/etc/portmanager/pm-020.conf.SAMPLE INSTALL_TARGET= install info -post-configure: - @${REINPLACE_CMD} -e \ - 's|VERSION "${PORTVERSION}"|VERSION "${PORTVERSION}_${PORTREVISION}"|g' \ - ${WRKSRC}/externVars.h - -post-install: +pre-fetch: +.if !defined(WITH_DEBUG) @${ECHO} "***********************************************************************" @${ECHO} "* portmanager *" @${ECHO} "***********************************************************************" @${ECHO} "* *" -.if !defined(WITH_DEBUG) @${ECHO} "* WITH_DEBUG=yes enables debug support and all compile warninings *" @${ECHO} "* *" -.endif - @${ECHO} "* upgrade ports example: *" - @${ECHO} "* *" - @${ECHO} "* portmanager -u -ip editors/nedit editors/openoffice *" - @${ECHO} "* *" - @${ECHO} "* upgrades everything except nedit,open office and their dependencies *" - @${ECHO} "* *" - @${ECHO} "* portmanager -sl will show you leaf ports, these are safe to remove *" - @${ECHO} "* *" - @${ECHO} "* portmanager -slid will let you safely remove leaf ports *" - @${ECHO} "* *" - @${ECHO} "* see man portmanager(1) or http://portmanager.sunsite.dk *" - @${ECHO} "* *" - @${ECHO} "***********************************************************************" - @${ECHO} "* all feedback is welcome, send to: *" - @${ECHO} "* Michael C. Shultz ringworm01@gmail.com *" @${ECHO} "***********************************************************************" +.endif + +post-configure: + @${REINPLACE_CMD} -e \ + 's|VERSION "${PORTVERSION}"|VERSION "${PORTVERSION}_${PORTREVISION}"|g' \ + ${WRKSRC}/externVars.h + +post-install: + @${CAT} ${PKGMESSAGE} + .include diff --git a/ports-mgmt/portmanager/distinfo b/ports-mgmt/portmanager/distinfo index 2142c6893c83..d342d225248b 100644 --- a/ports-mgmt/portmanager/distinfo +++ b/ports-mgmt/portmanager/distinfo @@ -1,2 +1,2 @@ -MD5 (portmanager-0.2.7.tar.gz) = 5c5b912afdde879a2d02d4d50855cf6b -SIZE (portmanager-0.2.7.tar.gz) = 410526 +MD5 (portmanager-0.2.8.tar.gz) = 108203d9ca48b566fc6b5861f44bd42d +SIZE (portmanager-0.2.8.tar.gz) = 414722 diff --git a/ports-mgmt/portmanager/pkg-message b/ports-mgmt/portmanager/pkg-message new file mode 100644 index 000000000000..83fc490fb60b --- /dev/null +++ b/ports-mgmt/portmanager/pkg-message @@ -0,0 +1,18 @@ +* +* portmanager +* +* upgrade ports example: +* +* portmanager -u -ip editors/nedit editors/openoffice +* +* upgrades everything except nedit,open office and their dependencies +* +* portmanager -sl will show you leaf ports, these are safe to remove +* +* portmanager -slid will let you safely remove leaf ports +* +* see man portmanager(1) or http://portmanager.sunsite.dk +* +* all feedback is welcome, send to: +* Michael C. Shultz ringworm01@gmail.com +* diff --git a/ports-mgmt/portmanager/pkg-plist b/ports-mgmt/portmanager/pkg-plist index bc756724d977..24dc40979d33 100644 --- a/ports-mgmt/portmanager/pkg-plist +++ b/ports-mgmt/portmanager/pkg-plist @@ -8,6 +8,7 @@ @unexec rm -f %D/share/portmanager/ports_cache.db 2>/dev/null || true @unexec rm -f %D/share/portmanager/ports_installed.db 2>/dev/null || true @unexec rm -f %D/share/portmanager/ports_old.db 2>/dev/null || true +%%DATADIR%%/help.txt bin/portmanager etc/portmanager/pm-020.conf.SAMPLE include/libMG.h -- cgit v1.2.3