2005-07-22 00:51:49 +02:00
|
|
|
# New ports collection makefile for: PostgreSQL library pgeasy
|
|
|
|
# Date created: October 24st, 2004
|
|
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAMEPREFIX= postgresql-
|
|
|
|
PORTNAME= libpgeasy
|
|
|
|
PORTVERSION= 3.0.4
|
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
|
|
|
MASTER_SITE_SUBDIR= projects/gborg/pgeasy/stable
|
|
|
|
DIST_SUBDIR= postgresql
|
|
|
|
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
|
|
COMMENT= An easy-to-use C interface to PostgreSQL
|
|
|
|
|
2007-01-28 10:07:47 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-07-22 00:51:49 +02:00
|
|
|
USE_PGSQL= YES
|
|
|
|
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
|
2005-07-22 00:51:49 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/postgresql/${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/postgresql/${PORTNAME}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@- ${MKDIR} -m 755 ${EXAMPLESDIR} ;\
|
|
|
|
${INSTALL} ${WRKSRC}/examples/* ${EXAMPLESDIR} ;\
|
|
|
|
${MKDIR} -m 755 ${DOCSDIR} ;\
|
|
|
|
${INSTALL} ${WRKSRC}/docs/libpgeasy.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|