1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Palle Girgensohn <girgen@pingpong.net>
# $FreeBSD$
PORTNAME= libpq++
PORTVERSION= 4.0
PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= projects/gborg/libpqpp/stable
PKGNAMEPREFIX= postgresql-
DIST_SUBDIR= postgresql
MAINTAINER= pgsql@FreeBSD.org
COMMENT= C++ interface for PostgreSQL
USE_PGSQL= YES
USES= gmake
USE_LDCONFIG= YES
NO_STAGE= 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>
|