freebsd-ports/databases/pgtcl/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: pgtcl
# Date created: February 13, 2007
# Whom: Mikhail Teterin
#
# $FreeBSD$
#
PORTNAME= pgtcl
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= databases tcl
DISTNAME= ${PORTNAME}${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
MASTER_SITES= http://pgfoundry.org/frs/download.php/1229/:src
MAINTAINER= mi@aldan.algebra.com
COMMENT= TCL extension for accessing a PostgreSQL server
USE_TCL= yes
USE_PGSQL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
LIBDIR= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if !defined(NOPORTDOCS)
EXTRACT_ONLY= ${_DISTFILES:M*tar.gz}
DISTFILES+= pgtcldocs-20070115.zip:doc
MASTER_SITES+= http://pgfoundry.org/frs/download.php/1228/:doc
BUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
.endif
post-configure:
${REINPLACE_CMD} -e 's,tclstub,tcl,g' \
-e 's,-DUSE_TCL_STUBS=1,-UUSE_TCL_STUBS,g' \
${WRKSRC}/Makefile
do-install:
${MKDIR} ${LIBDIR}
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl \
${WRKSRC}/libpgtcl${PORTVERSION}.so ${LIBDIR}
.if !defined(NOPORTDOCS)
${UNZIP_CMD} -j ${DISTDIR}/${_DISTFILES:M*.zip} -d ${DOCSDIR}
.endif
.include <bsd.port.mk>