2008-02-08 15:15:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2008/02/08 14:15:40 obache Exp $
|
2005-11-23 07:36:56 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../../databases/qdbm/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= p5-qdbm-1.0.0.${QDBM_VERSION}
|
|
|
|
CATEGORIES= databases perl5
|
|
|
|
|
2007-04-01 03:58:36 +02:00
|
|
|
MAINTAINER= obache@NetBSD.org
|
2005-11-23 07:36:56 +01:00
|
|
|
HOMEPAGE= http://qdbm.sourceforge.net/
|
|
|
|
COMMENT= Perl interface of QDBM
|
|
|
|
|
2008-02-08 15:15:40 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-11-23 07:36:56 +01:00
|
|
|
MY_SUBDIR=perl
|
|
|
|
BUILD_DIRS= ${MY_SUBDIR}
|
|
|
|
CONFIGURE_DIRS= ${MY_SUBDIR}
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2007-12-10 02:24:25 +01:00
|
|
|
USE_TOOLS+= perl
|
2007-02-22 20:26:05 +01:00
|
|
|
PERL5_CONFIGURE= no
|
|
|
|
TEST_TARGET= check
|
2005-11-23 07:36:56 +01:00
|
|
|
|
|
|
|
PERL5_PACKLIST= auto/Curia/.packlist auto/Depot/.packlist auto/Villa/.packlist
|
2007-02-22 20:26:05 +01:00
|
|
|
REPLACE_PERL= ${MY_SUBDIR}/curia/plcrtest ${MY_SUBDIR}/depot/pldptest \
|
2005-11-23 07:36:56 +01:00
|
|
|
${MY_SUBDIR}/villa/plvltest
|
|
|
|
|
|
|
|
.include "../../databases/qdbm/buildlink3.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
|
2007-02-22 20:26:05 +01:00
|
|
|
SUBST_CLASSES+= pthread
|
|
|
|
SUBST_STAGE.pthread= pre-configure
|
|
|
|
SUBST_FILES.pthread= ${MY_SUBDIR}/configure
|
|
|
|
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
|
2005-11-23 07:36:56 +01:00
|
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|