aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Pg/Makefile
blob: e7f2606c9f80a34d40ec10a8e42aed3b40807f9d (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
# New ports collection makefile for:    p5-Pg
# Date created:             October 19th 1996
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Pg
PORTVERSION=    2.0.1
PORTEPOCH=  1
CATEGORIES= databases perl5
MASTER_SITES=   ftp://gborg.postgresql.org/pub/pgperl/stable/
PKGNAMEPREFIX=  p5-
DISTFILES=  pgperl-${PORTVERSION}${EXTRACT_SUFX}
DIST_SUBDIR=    postgresql

MAINTAINER= girgen@pingpong.net
COMMENT=    An interface for using perl5 to access PostgreSQL databases

POSTGRESQL_PORT?=   databases/postgresql7
LIB_DEPENDS=    pq.3:${PORTSDIR}/${POSTGRESQL_PORT}

USE_PERL5=  yes

MAN3=       Pg.3
MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}

PERL_CONFIGURE= YES
CONFIGURE_ENV=  POSTGRES_INCLUDE=${LOCALBASE}/include POSTGRES_LIB=${LOCALBASE}/lib

.include <bsd.port.mk>