1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/databases/p5-Pg/Makefile
Will Andrews 1e60866cc1 Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX.
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>
2000-06-17 02:37:15 +00:00

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>