summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-02-08 06:27:38 +0000
committerleeym <leeym@FreeBSD.org>2005-02-08 06:27:38 +0000
commit82fe96fb7268a6ebe6d28f726d418c37d9caf2ef (patch)
tree74c75e5a55b884d2f7b865bbd13fe2cb34e6feb0 /ports-mgmt
parent385552678057a06407ada4e2dce0e7ab5644d1fb (diff)
downloadFreeBSD-ports-82fe96fb7268a6ebe6d28f726d418c37d9caf2ef.zip
FreeBSD-ports-82fe96fb7268a6ebe6d28f726d418c37d9caf2ef.tar.gz
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>
Diffstat (limited to 'ports-mgmt')
-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 d434efe..6f6aec5 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 01f59e8..566f7ef 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
OpenPOWER on IntegriCloud