aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portmanager
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-02-08 06:27:38 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-02-08 06:27:38 +0000
commitca3a9cca86cd466584d1ebb6c408571b89b59979 (patch)
treefa7417886c87bcf6a8720da82ac131a4ec2af3bc /ports-mgmt/portmanager
parentfcc5e4ae54014242128a23b289dc61d9bdfdca5d (diff)
downloadports-ca3a9cca86cd466584d1ebb6c408571b89b59979.tar.gz
ports-ca3a9cca86cd466584d1ebb6c408571b89b59979.zip
update portmanager to ver 0.2.6
1) Fixed bug where ports were being updated for old dependencies when they did not require it. 2) Added -sl option: show leaf ports (ports with no other ports depending on them) 3) Added -slid option: interactivly delete leaf ports PR: 77238 Submitted by: Michael C. Shultz <reso3w83 at verizon.net>
Notes
Notes: svn path=/head/; revision=128253
Diffstat (limited to 'ports-mgmt/portmanager')
-rw-r--r--ports-mgmt/portmanager/Makefile60
-rw-r--r--ports-mgmt/portmanager/distinfo4
2 files changed, 31 insertions, 33 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile
index d434efe846a0..6f6aec5497e7 100644
--- a/ports-mgmt/portmanager/Makefile
+++ b/ports-mgmt/portmanager/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= portmanager
-PORTVERSION= 0.2.5
+PORTVERSION= 0.2.6
PORTREVISION= 0
#-----------------------------------------
#for local use, remove before submitting PR
@@ -18,13 +18,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portmanager
MAINTAINER= reso3w83@verizon.net
-COMMENT= FreeBSD port management software
-
-.if defined(WITH_DEBUG)
-BUILD_DEPENDS= autoheader259:${PORTSDIR}/devel/autoconf259 \
- aclocal19:${PORTSDIR}/devel/automake19 \
- libtoolize15:${PORTSDIR}/devel/libtool15
-.endif
+COMMENT= FreeBSD usr/ports status and safe usr/ports update
MAN1= portmanager.1
MAN3= libMG.3 \
@@ -38,41 +32,45 @@ MAN3= libMG.3 \
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-INSTALLS_SHLIB= yes
-USE_REINPLACE= yes
-# Need INSTALL_TARGET to install /usr/local/etc/portmanager/pm-020.conf.SAMPLE
-INSTALL_TARGET= install info
-post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
- s|%%VERSION%%|${PORTVERSION}_${PORTREVISION}|g ; \
- s|%%PORTSDIR%%|${PORTSDIR}|g ; \
- s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/libPMGR.h
+#CONFIGURE_ARGS=
+#
+# WITH_DEBUG disbled in 0.2.6, intend to reinstate it
+# in 0.2.7
+#.if defined(WITH_DEBUG)
+#CONFIGURE_ARGS= --with-debug=yes
+#.endif
-# Only way to get WITH_DEBUG build dependencies handled prior to reconfiguring
-# is to use post-configure <sigh>
-post-configure:
-.if defined(WITH_DEBUG)
- @${REINPLACE_CMD} -e 's|# BDECFLAGS=|BDECFLAGS=|g ; \
- s|# CFLAGS=|CFLAGS=|g ; \
- s|# AC_SUBST(CFLAGS)|AC_SUBST(CFLAGS)|g' ${WRKSRC}/configure.ac
- cd ${WRKSRC};sh rePackage.sh;sh configure
-.endif
+CONFIGURE_ARGS= --with-prefix=${PREFIX} \
+ --with-bindir=/bin \
+ --with-etcdir=${PREFIX}/etc/portmanager \
+ --with-pkgdbdir=${PKG_DBDIR} \
+ --with-portsdir=${PORTSDIR} \
+ --with-sharedir=${DATADIR} \
+ --with-tempdir=/tmp
+
+INSTALLS_SHLIB= yes
+# Need INSTALL_TARGET to install ${PREFIX}/etc/portmanager/pm-020.conf.SAMPLE
+INSTALL_TARGET= install info
post-install:
@${ECHO} "***********************************************************************"
- @${ECHO} "* to compile with debug support try: *"
- @${ECHO} "* *"
- @${ECHO} "* make WITH_DEBUG=yes install clean *"
+ @${ECHO} "* portmanager *"
+ @${ECHO} "***********************************************************************"
@${ECHO} "* *"
- @${ECHO} "* to upgrade ports example: *"
+ @${ECHO} "* upgrade ports example: *"
@${ECHO} "* *"
@${ECHO} "* portmanager -u -ip editors/nedit editors/openoffice *"
@${ECHO} "* *"
- @${ECHO} "* upgrades evrything except nedit, open office and their dependencies *"
+ @${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) for more information *"
@${ECHO} "* *"
+ @${ECHO} "***********************************************************************"
@${ECHO} "* all feedback is welcome, send to: *"
@${ECHO} "* Michael C. Shultz reso3w83@verizon.net *"
@${ECHO} "***********************************************************************"
diff --git a/ports-mgmt/portmanager/distinfo b/ports-mgmt/portmanager/distinfo
index 01f59e8f7c0e..566f7ef5c326 100644
--- a/ports-mgmt/portmanager/distinfo
+++ b/ports-mgmt/portmanager/distinfo
@@ -1,2 +1,2 @@
-MD5 (portmanager-0.2.5.tar.gz) = 27fc6da9d10ef3793324c95b7597f8c8
-SIZE (portmanager-0.2.5.tar.gz) = 393258
+MD5 (portmanager-0.2.6.tar.gz) = e57487c9d50e29c8e7c5a4e36606b00d
+SIZE (portmanager-0.2.6.tar.gz) = 409033