freebsd-ports/databases/p5-DBIx-Simple/Makefile
Erwin Lansing 55bca00559 Add OPTIONS
PR:		90509
Submitted by:	parv@pair.com (maintainer)
2005-12-18 09:33:37 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: DBIx::Simple
# Date created: 10 December 2005
# Whom: Parv <parv@pair.org>
#
# $FreeBSD$
#
PORTNAME= DBIx-Simple
PORTVERSION= 1.26
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= parv@pair.com
COMMENT= Simplified object oriented interface to Perl DBI
RUN_DEPENDS= p5-DBI>=1.21:${PORTSDIR}/databases/p5-DBI \
p5-Data-Swap>=0.02:${PORTSDIR}/devel/p5-Data-Swap
OPTIONS= \
SQL_ABSTRACT "Generate SQL from Perl data structures" off \
DBIX_XHTML_TABLE "Create XHTML tables from SQL queries" off \
TEXT_TABLE "Create plain text table from data" off
PERL_CONFIGURE= yes
MAN3= DBIx::Simple.3 \
DBIx::Simple::Examples.3 \
DBIx::Simple::Comparison.3 \
DBIx::Simple::SQE.3
.include <bsd.port.pre.mk>
.if defined(WITH_SQL_ABSTRACT)
RUN_DEPENDS+= p5-SQL-Abstract>=0:${PORTSDIR}/databases/p5-SQL-Abstract
.endif
.if defined(WITH_DBIX_XHTML_TABLE)
RUN_DEPENDS+= p5-DBIx-XHTML_Table>=0:${PORTSDIR}/databases/p5-DBIx-XHTML_Table
.endif
.if defined(WITH_TEXT_TABLE)
RUN_DEPENDS+= p5-Text-Table>=0:${PORTSDIR}/textproc/p5-Text-Table
.endif
.if ${PERL_LEVEL} < 500600
IGNORE= need at least Perl 5.6; install lang/perl or lang/perl5.8
.endif
.include <bsd.port.post.mk>