- 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)
32 lines
735 B
Makefile
32 lines
735 B
Makefile
# New ports collection makefile for: PostgreSQL Pgaccess
|
|
# Date created: December 1st, 2002
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libpq++
|
|
PORTVERSION= 4.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
|
MASTER_SITE_SUBDIR= projects/gborg/libpqpp/stable
|
|
PKGNAMEPREFIX= postgresql-
|
|
DIST_SUBDIR= postgresql
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= C++ interface for PostgreSQL
|
|
|
|
USE_PGSQL= YES
|
|
USE_GMAKE= YES
|
|
USE_LDCONFIG= YES
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "s,/usr/local/pgsql,${PREFIX},; \
|
|
s,^CFLAGS.*,CFLAGS=${CFLAGS},; \
|
|
s,\...SO_MINOR_VERSION.,,; \
|
|
s,\-I,\-fPIC \-I,; \
|
|
s,\(\-[IL]\)[^/]*,\\1${LOCALBASE}," ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|