mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
1e60866cc1
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
33 lines
728 B
Makefile
33 lines
728 B
Makefile
# New ports collection makefile for: p5-Pg
|
|
# Date created: October 19th 1996
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Pg
|
|
PORTVERSION= 1.8.1
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Pg
|
|
DISTNAME= pgsql_perl5-${PORTVERSION}
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= jfitz@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/pgsql/lib/libpq.a:${PORTSDIR}/databases/postgresql
|
|
|
|
USE_PERL5= yes
|
|
|
|
POSTGRES_HOME?= ${PREFIX}/pgsql
|
|
MAKE_ENV+= POSTGRES_HOME=${POSTGRES_HOME}
|
|
|
|
MAN3= Pg.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
|
|
CC="${CC}" CCFLAGS="${CFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|