2014-06-14 06:34:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2014/06/14 10:34:44 sthen Exp $
|
2005-03-02 19:10:54 -05:00
|
|
|
|
2007-09-15 17:32:05 -04:00
|
|
|
COMMENT= perl interface to the ACEDB database
|
2005-03-02 19:10:54 -05:00
|
|
|
|
2010-12-14 18:53:07 -05:00
|
|
|
DISTNAME= AcePerl-1.92
|
2012-10-23 05:39:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}# No p5-prefix
|
2014-06-14 06:34:44 -04:00
|
|
|
REVISION= 1
|
2010-12-17 19:19:51 -05:00
|
|
|
CATEGORIES= biology databases
|
2005-03-02 19:10:54 -05:00
|
|
|
|
|
|
|
FLAVORS= opt
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
# perl licence
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Ace/}
|
|
|
|
|
|
|
|
# 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
|
2005-03-02 19:10:54 -05:00
|
|
|
|
2010-12-17 19:19:51 -05:00
|
|
|
MODULES= cpan
|
|
|
|
MODCPAN_EXAMPLES= Yes
|
|
|
|
MODCPAN_EXAMPLES_DIR= ${PREFIX}/share/examples/AcePerl/
|
2005-03-02 19:10:54 -05:00
|
|
|
|
|
|
|
# go through extra indirection to allow both flavors to share most files.
|
|
|
|
SUBST_VARS= P5ACE
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS= devel/p5-Cache-Cache \
|
|
|
|
devel/p5-WeakRef
|
2005-03-02 19:10:54 -05:00
|
|
|
|
2011-10-17 08:57:39 -04:00
|
|
|
.if ${FLAVOR:Mopt}
|
2005-03-02 19:10:54 -05:00
|
|
|
SHARED_ONLY=Yes
|
|
|
|
CONFIGURE_ENV+= CHOICE1=2
|
|
|
|
P5ACE=${P5ARCH}
|
2005-03-11 12:01:28 -05:00
|
|
|
WANTLIB=c
|
2005-03-02 19:10:54 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= CHOICE1=1
|
|
|
|
P5ACE=${P5SITE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= CHOICE2=n
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|