aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-libpgeasy/Makefile
blob: e2f09a14f7eaca534ce2a3ac2e1a52fbd5f03222 (plain) (blame)
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
29
30
31
32
33
34
35
36
# 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

USE_AUTOTOOLS=  libtool:15
USE_PGSQL=  YES
USE_GMAKE=  YES
INSTALLS_SHLIB= YES
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>