sysutils/portmanager update to 0.2.8

1) Incorporated Florent Thoumie's <flz@xbsd.org> 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" <brianjohn at fusemail.com>

3) Added percent done message to xterm title bar as requested by
<mark.magiera at gmail.com>

4) port is repackaged because too many changes to configure.ac
for a patch to be feasable

PR:		77942
Submitted by:	Michael C. Shultz <ringworm01 at gmail.com>
This commit is contained in:
Yen-Ming Lee 2005-02-24 01:29:14 +00:00
parent eb6dc7f1d9
commit 0a474baf90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129629
8 changed files with 70 additions and 56 deletions

View File

@ -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
pre-fetch:
.if !defined(WITH_DEBUG)
@${ECHO} "***********************************************************************"
@${ECHO} "* portmanager *"
@${ECHO} "***********************************************************************"
@${ECHO} "* *"
@${ECHO} "* WITH_DEBUG=yes enables debug support and all compile warninings *"
@${ECHO} "* *"
@${ECHO} "***********************************************************************"
.endif
post-configure:
@${REINPLACE_CMD} -e \
's|VERSION "${PORTVERSION}"|VERSION "${PORTVERSION}_${PORTREVISION}"|g' \
${WRKSRC}/externVars.h
post-install:
@${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} "***********************************************************************"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -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

View File

@ -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
*

View File

@ -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

View File

@ -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
pre-fetch:
.if !defined(WITH_DEBUG)
@${ECHO} "***********************************************************************"
@${ECHO} "* portmanager *"
@${ECHO} "***********************************************************************"
@${ECHO} "* *"
@${ECHO} "* WITH_DEBUG=yes enables debug support and all compile warninings *"
@${ECHO} "* *"
@${ECHO} "***********************************************************************"
.endif
post-configure:
@${REINPLACE_CMD} -e \
's|VERSION "${PORTVERSION}"|VERSION "${PORTVERSION}_${PORTREVISION}"|g' \
${WRKSRC}/externVars.h
post-install:
@${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} "***********************************************************************"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -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

View File

@ -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
*

View File

@ -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