openbsd-ports/biology/AcePerl/Makefile
sthen d2f4eba081 ace.pl(1) manpage is generated but useless; @comment it to avoid
"Couldn't find subject in old manpage /usr/local/man/man1/ace.pl.1
Unknown manpage type /usr/local/man/man1/ace.pl.1" at pkg_add.

P5ARCH is in base file sets anyway, remove from PLIST.

ok merdely@
2007-09-18 23:36:54 +00:00

44 lines
803 B
Makefile

# $OpenBSD: Makefile,v 1.4 2007/09/18 23:36:54 sthen Exp $
COMMENT= perl interface to the ACEDB database
DISTNAME= AcePerl-1.87
PKGNAME= ${DISTNAME}p0
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
# go through extra indirection to allow both flavors to share most files.
SUBST_VARS= P5ACE
.if ${FLAVOR:L:Mopt}
SHARED_ONLY=Yes
CONFIGURE_ENV+= CHOICE1=2
P5ACE=${P5ARCH}
WANTLIB=c
.else
PKG_ARCH= *
CONFIGURE_ENV+= CHOICE1=1
P5ACE=${P5SITE}
.endif
CONFIGURE_ENV+= CHOICE2=n
.include <bsd.port.mk>