ports/databases/postgresql_autodoc/Makefile
Jimmy Olgeni d3f25b4378 Fix dependency on devel/p5-Term-ReadKey.
Noticed by:	kris
2007-01-28 21:28:42 +00:00

35 lines
943 B
Makefile

# New ports collection makefile for: postgresql_autodoc
# Date created: Fri Aug 23 22:22:36 CEST 2002
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= postgresql_autodoc
PORTVERSION= 1.30
CATEGORIES= databases
MASTER_SITES= http://www.rbt.ca/autodoc/binaries/
DIST_SUBDIR= postgresql
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Automatic documentation generator for postgresql databases
.include <bsd.port.pre.mk>
BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
${SITE_PERL}/mach/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5= yes
CONFIGURE_ARGS+= --datadir=${DATADIR}
WRKSRC= ${WRKDIR}/postgresql_autodoc
.include <bsd.port.post.mk>