2003-01-05 01:11:39 +01:00
|
|
|
# New ports collection makefile for: PostgreSQL Pgaccess
|
|
|
|
# Date created: December 1st, 2002
|
|
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libpqxx
|
2006-08-09 12:36:43 +02:00
|
|
|
PORTVERSION= 2.6.7
|
2003-01-05 01:11:39 +01:00
|
|
|
CATEGORIES= databases
|
2006-05-28 18:50:24 +02:00
|
|
|
MASTER_SITES= ftp://thaiopensource.org/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= software/libpqxx
|
2003-09-03 10:04:08 +02:00
|
|
|
PKGNAMEPREFIX= postgresql-
|
2003-01-05 01:11:39 +01:00
|
|
|
DIST_SUBDIR= postgresql
|
|
|
|
|
2004-12-06 04:59:56 +01:00
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
2004-11-07 21:46:18 +01:00
|
|
|
COMMENT= A new C++ interface for PostgreSQL
|
2003-01-05 01:11:39 +01:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_PGSQL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2004-06-24 20:45:32 +02:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2003-01-05 01:11:39 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
|
2004-06-24 00:19:23 +02:00
|
|
|
--enable-shared \
|
2003-01-05 01:11:39 +01:00
|
|
|
--with-postgres-include=${LOCALBASE}/include/postgresql
|
|
|
|
|
2004-06-24 00:19:23 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-06-24 20:45:32 +02:00
|
|
|
.if ${OSVERSION} < 500035
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
2004-11-28 01:54:56 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/stlport
|
2004-06-24 20:45:32 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
|
2004-11-28 01:54:56 +01:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
2004-06-24 00:19:23 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|