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.
This commit is contained in:
Mikhail Teterin 2012-02-24 21:21:39 +00:00
parent d6f4f5fc58
commit 7b8c2c828e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292198
3 changed files with 17 additions and 12 deletions

View File

@ -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>

View File

@ -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

View File

@ -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