openbsd-ports/biology/AcePerl/Makefile

46 lines
867 B
Makefile
Raw Normal View History

2010-10-18 12:52:44 -04:00
# $OpenBSD: Makefile,v 1.10 2010/10/18 16:57:47 espie Exp $
2007-09-15 17:32:05 -04:00
COMMENT= perl interface to the ACEDB database
2008-09-23 16:57:20 -04:00
DISTNAME= AcePerl-1.91
2010-09-24 11:23:05 -04:00
REVISION= 2
CATEGORIES= biology perl5 databases
FLAVORS= opt
FLAVOR?=
# perl licence
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Ace/}
CONFIGURE_STYLE= perl
# we patch the Makefile.PL to allow us to set this simply
CONFIGURE_ENV+= PERL_MM_USE_DEFAULT=Yes
2010-10-18 12:52:44 -04:00
USE_GROFF = Yes
# go through extra indirection to allow both flavors to share most files.
SUBST_VARS= P5ACE
2008-09-23 16:57:20 -04:00
RUN_DEPENDS= ::devel/p5-Cache-Cache \
::devel/p5-WeakRef
.if ${FLAVOR:L:Mopt}
SHARED_ONLY=Yes
CONFIGURE_ENV+= CHOICE1=2
P5ACE=${P5ARCH}
2005-03-11 12:01:28 -05:00
WANTLIB=c
.else
PKG_ARCH= *
CONFIGURE_ENV+= CHOICE1=1
P5ACE=${P5SITE}
.endif
CONFIGURE_ENV+= CHOICE2=n
.include <bsd.port.mk>