aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-12-29 15:41:05 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-12-29 15:41:05 +0000
commitd056068bbf483af94b04d9cedf3412c81830db42 (patch)
tree7d968c6196df5574a1b8d30a18710a68a907f22c /ports-mgmt
parent8967b8d02d9db05e5719d6dfd5525e6ed7987ed8 (diff)
downloadports-d056068bbf483af94b04d9cedf3412c81830db42.tar.gz
ports-d056068bbf483af94b04d9cedf3412c81830db42.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmanager/Makefile21
-rw-r--r--ports-mgmt/portmanager/distinfo4
-rw-r--r--ports-mgmt/portmanager/pkg-plist1
3 files changed, 21 insertions, 5 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile
index feff9cefbcea..e8f1ce188562 100644
--- a/ports-mgmt/portmanager/Makefile
+++ b/ports-mgmt/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/ports-mgmt/portmanager/distinfo b/ports-mgmt/portmanager/distinfo
index 34725c3ae974..ee60c2f8866d 100644
--- a/ports-mgmt/portmanager/distinfo
+++ b/ports-mgmt/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/ports-mgmt/portmanager/pkg-plist b/ports-mgmt/portmanager/pkg-plist
index 822acf29345d..d8ce683a2f0c 100644
--- a/ports-mgmt/portmanager/pkg-plist
+++ b/ports-mgmt/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