blob: 94b548b7a1b8a94afb2bd1d930396afaf88001dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.11 2009/07/07 11:37:46 obache Exp $
#
DISTNAME= tokyodystopia-0.9.13
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tokyocabinet.sourceforge.net/dystopiadoc/
COMMENT= Full-text search system
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= tokyodystopia.pc.in
CONFIGURE_ARGS+= --enable-zlib
CONFIGURE_ARGS+= --enable-bzip
TEST_TARGET= check
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.29
.include "../../databases/tokyocabinet/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
PTHREAD_AUTO_VARS= yes
CONFIGURE_ARGS+= --enable-pthread
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
.include "../../mk/bsd.pkg.mk"
|