2003-01-05 01:03:13 +01:00
|
|
|
# New ports collection makefile for: PostgreSQL Pgaccess
|
|
|
|
# Date created: December 1st, 2002
|
|
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libpq++
|
|
|
|
PORTVERSION= 4.0
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
2003-01-05 01:03:13 +01:00
|
|
|
CATEGORIES= databases
|
2005-07-21 21:48:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
|
|
|
MASTER_SITE_SUBDIR= projects/gborg/libpqpp/stable
|
2003-09-03 10:06:18 +02:00
|
|
|
PKGNAMEPREFIX= postgresql-
|
2003-01-05 01:03:13 +01:00
|
|
|
DIST_SUBDIR= postgresql
|
|
|
|
|
2004-12-06 04:59:56 +01:00
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
2003-02-21 12:15:57 +01:00
|
|
|
COMMENT= C++ interface for PostgreSQL
|
2003-01-05 01:03:13 +01:00
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= YES
|
2003-01-05 01:03:13 +01:00
|
|
|
USE_GMAKE= YES
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= YES
|
2003-01-05 01:03:13 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} "s,/usr/local/pgsql,${PREFIX},; \
|
|
|
|
s,^CFLAGS.*,CFLAGS=${CFLAGS},; \
|
|
|
|
s,\...SO_MINOR_VERSION.,,; \
|
2004-02-01 13:48:03 +01:00
|
|
|
s,\-I,\-fPIC \-I,; \
|
2003-01-05 01:03:13 +01:00
|
|
|
s,\(\-[IL]\)[^/]*,\\1${LOCALBASE}," ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|