pkgsrc/security/libprelude-perl/Makefile
wiz 7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2014/05/29 23:37:19 wiz Exp $
PKGNAME= libprelude-perl-${VERSION}
PKGREVISION= 10
COMMENT= Perl bindings to LibPrelude
.include "../../security/libprelude/Makefile.common"
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
CONFIGURE_ARGS+= --with-perl-installdirs=vendor
USE_TOOLS+= perl:run
PERL5_PACKLIST= auto/Prelude/.packlist
PERL5_PACKLIST+= auto/PreludeEasy/.packlist
PERL5_CONFIGURE= no
# something overrides USE_LANGUAGES from Makefile.common so repeat this here
USE_LANGUAGES= c c++
.include "../../lang/perl5/module.mk"
PLIST_SRC=
BUILD_DIRS= bindings/low-level/perl bindings/perl
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CFLAGS= -O0 -ggdb
.endif
do-build:
cd ${WRKSRC}/bindings && ${MAKE} perl-build
cd ${WRKSRC}/bindings/low-level && ${MAKE} perl-build
.include "../../devel/libltdl/convenience.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/gnutls/libgnutls-config.mk"
.include "../../security/libprelude/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"