diff options
author | sem <sem@FreeBSD.org> | 2004-12-29 23:41:05 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-29 23:41:05 +0800 |
commit | 176f154406ede18f2d1f5c880fafbf4ed46d850e (patch) | |
tree | 21c548fdaf29e6c384f0f1dcb5a45b0d7bf45a28 /sysutils | |
parent | 0e3b9d91ae8790ee21337ead2aa35879aeb16a3d (diff) | |
download | freebsd-ports-gnome-176f154406ede18f2d1f5c880fafbf4ed46d850e.tar.gz freebsd-ports-gnome-176f154406ede18f2d1f5c880fafbf4ed46d850e.tar.zst freebsd-ports-gnome-176f154406ede18f2d1f5c880fafbf4ed46d850e.zip |
- update to 0.2.2
1) Made MGmDbArrayFree and MGmDbArray source in /libMG/src/libMG.h
more readable. Fixed a few bad mallocs in MGmDbArrayFree as well.
2) As per suggestions from John E Hein <jhein@timing.com> in
libPMGR/src/libPMGR.h removed hard coded paths and changed so
ports infrastructure files are accessed by using
$PORTSDIR & $PKG_DBDIR environment vars and fixed hard coded
path references in /portmanager/portmanager.c
3) In pmupgrade.c added an abort if error during clean in an attempt
to halt looping when a port conflict occurs, this is untested so
temporary for now.
4) libPMGR/src/PMGRrMakeDescribe.c fixed hard coded paths
5) pmupgrade.c fixed hard coded paths
6) pmupgrade.c Major cleanup of code, seperated upgrade routine into
upgrade, checkForOldDepencies, and PMGRrDoUpgrade routines.
7) fixed portmanager seg faulting when it self updates. (thanks to
"Noah" <admin2@enabled.com> for reporting
8) Added "HINTS AND TIPS" section to portmanager(1) man page.
PR: ports/75596
Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/portmanager/Makefile | 21 | ||||
-rw-r--r-- | sysutils/portmanager/distinfo | 4 | ||||
-rw-r--r-- | sysutils/portmanager/pkg-plist | 1 |
3 files changed, 21 insertions, 5 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile index feff9cefbcea..e8f1ce188562 100644 --- a/sysutils/portmanager/Makefile +++ b/sysutils/portmanager/Makefile @@ -5,9 +5,15 @@ # $FreeBSD$ # -PORTNAME= portmanager -PORTVERSION= 0.2.1 +PORTNAME= portmanager +PORTVERSION= 0.2.2 +PORTREVISION= 0 +#----------------------------------------- +#for local use, remove before submitting PR CATEGORIES= sysutils +#CATEGORIES= local/sysutils +#VALID_CATEGORIES+= ${CATEGORIES} # for FreeBSD to accept our local category +#----------------------------------------- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= portmanager @@ -22,6 +28,7 @@ BUILD_DEPENDS= autoheader259:${PORTSDIR}/devel/autoconf259 \ MAN1= portmanager.1 +USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes @@ -29,6 +36,16 @@ 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|0.2.2|${PORTVERSION}_${PORTREVISION}|g ; \ + s|%%PORTSDIR%%|${PORTSDIR}|g ; \ + s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/libPMGR.h + + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%PORTSDIR%%|${PORTSDIR}|g ; \ + s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/PMGRrMakeDescribe.c + # Only way to get WITH_DEBUG build dependencies handled prior to reconfiguring # is to use post-configure <sigh> post-configure: diff --git a/sysutils/portmanager/distinfo b/sysutils/portmanager/distinfo index 34725c3ae974..ee60c2f8866d 100644 --- a/sysutils/portmanager/distinfo +++ b/sysutils/portmanager/distinfo @@ -1,2 +1,2 @@ -MD5 (portmanager-0.2.1.tar.gz) = ffd913fb57b592e9876fd006cc921eee -SIZE (portmanager-0.2.1.tar.gz) = 383452 +MD5 (portmanager-0.2.2.tar.gz) = e57d637438ca7465f4677368e1a423e3 +SIZE (portmanager-0.2.2.tar.gz) = 381257 diff --git a/sysutils/portmanager/pkg-plist b/sysutils/portmanager/pkg-plist index 822acf29345d..d8ce683a2f0c 100644 --- a/sysutils/portmanager/pkg-plist +++ b/sysutils/portmanager/pkg-plist @@ -10,7 +10,6 @@ bin/pmupgrade bin/portmanager etc/portmanager/pm-020.conf.SAMPLE include/libMG.h -include/libPMGR.h lib/libMG lib/libMG.0 lib/libPMGR |