aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2012-02-25 05:21:39 +0800
committermi <mi@FreeBSD.org>2012-02-25 05:21:39 +0800
commit9d9180e09271091409846237cb74a9455e34ced3 (patch)
tree6eae1acaa65d814ec28ecdb7c5a7614c7217a89b
parent20c38edecefa78a93ef81082660a831e7363f2a9 (diff)
downloadfreebsd-ports-gnome-9d9180e09271091409846237cb74a9455e34ced3.tar.gz
freebsd-ports-gnome-9d9180e09271091409846237cb74a9455e34ced3.tar.zst
freebsd-ports-gnome-9d9180e09271091409846237cb74a9455e34ced3.zip
Update from 1.9.0 to 2.0.0. Based on
PR: 164478 Submitted by: Pierre DAVID, jgh@ Author's readme continues to claim compatibility with Tcl older than 8.5.
-rw-r--r--databases/pgtcl/Makefile17
-rw-r--r--databases/pgtcl/distinfo8
-rw-r--r--databases/pgtcl/pkg-plist4
3 files changed, 17 insertions, 12 deletions
diff --git a/databases/pgtcl/Makefile b/databases/pgtcl/Makefile
index 3f7c02b2c7bb..a7c5994b59ac 100644
--- a/databases/pgtcl/Makefile
+++ b/databases/pgtcl/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= pgtcl
-PORTVERSION= 1.9.0
+PORTVERSION= 2.0.0
CATEGORIES= databases tcl
-MASTER_SITES= SF/pgtclng/pgtclng/${PORTVERSION}:src \
- SF/pgtclng/Manual/20110321:doc
+MASTER_SITES= SF/pgtclng/pgtclng/${PORTVERSION}:src
MASTER_SITE_SUBDIR= pgtclng
DISTNAME= ${PORTNAME}${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
@@ -25,11 +24,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
LIBDIR= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
+MANUALREL= 20110918
+
.if !defined(NOPORTDOCS)
EXTRACT_ONLY= ${_DISTFILES:M*tar.gz}
-DISTFILES+= pgtcldocs-20110321.zip:doc
-MASTER_SITES+= http://pgfoundry.org/frs/download.php/2836/:doc
-BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+DISTFILES+= pgtcldocs-${MANUALREL}.zip:doc
+MASTER_SITES+= SF/pgtclng/Manual/${MANUALREL}:doc
.endif
post-configure:
@@ -42,7 +42,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl \
${WRKSRC}/libpgtcl${PORTVERSION}.so ${LIBDIR}
.if !defined(NOPORTDOCS)
- ${UNZIP_CMD} -oj ${DISTDIR}/${_DISTFILES:M*.zip} -d ${DOCSDIR}
+ ${MKDIR} -p ${DOCSDIR}
+ ${TAR} -xf ${DISTDIR}/${_DISTFILES:M*.zip} -C ${DOCSDIR} \
+ --strip-components 1 --no-same-permission --no-same-owner
+ ${CHMOD} ${SHAREMODE} ${DOCSDIR}/*
.endif
.include <bsd.port.mk>
diff --git a/databases/pgtcl/distinfo b/databases/pgtcl/distinfo
index f301cc3afadc..28b9e308b25b 100644
--- a/databases/pgtcl/distinfo
+++ b/databases/pgtcl/distinfo
@@ -1,4 +1,4 @@
-SHA256 (pgtcl1.9.0.tar.gz) = b637955c1a6e0353c9308231935f83495c95f59901535a2a3f0bcdc42ac383a1
-SIZE (pgtcl1.9.0.tar.gz) = 189531
-SHA256 (pgtcldocs-20110321.zip) = 0e7eac560db6fbe772b1bfcde35a05ca2c2a3f6ccee730817b84b4bbc1f5260e
-SIZE (pgtcldocs-20110321.zip) = 148280
+SHA256 (pgtcl2.0.0.tar.gz) = f3d8195ecc140837f77985186b8618bb0e9f00a2e1681a46afd8af065ff35db2
+SIZE (pgtcl2.0.0.tar.gz) = 193257
+SHA256 (pgtcldocs-20110918.zip) = 1a86f0909b19358f4ade768f850ad02b27bc06b4cec32486783e133e37e8f344
+SIZE (pgtcldocs-20110918.zip) = 152847
diff --git a/databases/pgtcl/pkg-plist b/databases/pgtcl/pkg-plist
index 80ee56f5b061..86d713ef2e60 100644
--- a/databases/pgtcl/pkg-plist
+++ b/databases/pgtcl/pkg-plist
@@ -3,6 +3,7 @@ lib/pgtcl/pkgIndex.tcl
@dirrm lib/pgtcl
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/legalnotice.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-backend-pid.html
%%PORTDOCS%%%%DOCSDIR%%/pg-blocking.html
%%PORTDOCS%%%%DOCSDIR%%/pg-cancelrequest.html
%%PORTDOCS%%%%DOCSDIR%%/pg-conndefaults.html
@@ -39,8 +40,9 @@ lib/pgtcl/pkgIndex.tcl
%%PORTDOCS%%%%DOCSDIR%%/pg-result.html
%%PORTDOCS%%%%DOCSDIR%%/pg-select.html
%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery-params.html
-%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery.html
%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery-prepared.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-server-version.html
%%PORTDOCS%%%%DOCSDIR%%/pg-transaction-status.html
%%PORTDOCS%%%%DOCSDIR%%/pg-unescape-bytea.html
%%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-async.html