pkgsrc/databases/pgtclng/Makefile
2019-11-02 15:46:05 +00:00

29 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.18 2019/11/02 15:46:05 rillig Exp $
#
VER= 1.5.3
DISTNAME= pgtcl${VER}
PKGNAME= pgtclng-${VER}
PKGREVISION= 8
CATEGORIES= databases tcl
MASTER_SITES= http://pgfoundry.org/frs/download.php/1075/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://pgtclng.projects.postgresql.org/
COMMENT= Next Generation TCL interface to PostgreSQL
CONFLICTS+= pgtcl-[0-9]*
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-postgres-include=${PREFIX}/include
CONFIGURE_ARGS+= --with-postgres-lib=${PREFIX}/lib
CPPFLAGS+= -DUSE_INTERP_ERRORLINE
PGTCLLIBNAME= libpgtcl${VER:C/\.//g}.so
post-install:
cd ${DESTDIR}${PREFIX}/lib && ln -s pgtcl${VER}/${PGTCLLIBNAME} libpgtcl.so
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"