1997-06-18 21:41:01 +02:00
|
|
|
# New ports collection makefile for: p5-DBD-Pg
|
|
|
|
# Date created: June 17th 1997
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1997-06-18 21:41:01 +02:00
|
|
|
#
|
|
|
|
|
2001-04-21 13:43:12 +02:00
|
|
|
PORTNAME= DBD-Pg
|
2006-05-14 19:19:16 +02:00
|
|
|
PORTVERSION= 1.49
|
2001-04-21 13:43:12 +02:00
|
|
|
CATEGORIES= databases perl5
|
1997-06-18 21:41:01 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= DBD
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
1997-06-18 21:41:01 +02:00
|
|
|
|
2004-10-12 17:51:19 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-02-18 12:54:56 +01:00
|
|
|
COMMENT= Provides access to PostgreSQL databases through the DBI
|
1997-06-18 21:41:01 +02:00
|
|
|
|
2005-03-02 19:18:58 +01:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2005-05-08 08:47:59 +02:00
|
|
|
CONFLICTS= p5-DBD-Pg-1.3*
|
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= yes
|
2003-01-04 16:53:39 +01:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2003-07-10 06:39:34 +02:00
|
|
|
|
2004-10-12 09:41:14 +02:00
|
|
|
MAN3= DBD::Pg.3
|
1997-06-18 21:41:01 +02:00
|
|
|
|
2005-04-07 10:46:22 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes README TODO
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
|
|
|
|
2003-09-16 07:43:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2006-04-20 20:26:25 +02:00
|
|
|
IGNORE= needs DBI 1.38 which needs perl 5.6, install lang/perl5.8 and try again
|
2003-09-16 07:43:52 +02:00
|
|
|
.endif
|
|
|
|
|
2003-01-03 23:52:45 +01:00
|
|
|
PG_CONFIG= ${LOCALBASE}/bin/pg_config
|
2002-03-12 21:29:24 +01:00
|
|
|
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
|
|
|
|
POSTGRES_LIB=`${PG_CONFIG} --libdir`
|
2003-11-14 15:11:14 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|