summaryrefslogtreecommitdiff
path: root/textproc/java-native-hyperestraier/Makefile
blob: a271699277a156a60055a6dd845ebe1e44642918 (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
# $NetBSD: Makefile,v 1.1.1.1 2009/05/25 09:43:00 obache Exp $
#

.include "../../textproc/hyperestraier/Makefile.common"

PKGNAME=	java-native-hyperestraier-1.0.0.${HYPERESTRAIER_VERSION}
CATEGORIES=	databases java

COMMENT=	Java native interface of Hyper Estraier
LICENSE=	gnu-lgpl-v2.1

PKG_DESTDIR_SUPPORT=	user-destdir

MY_SUBDIR=	javanative
BUILD_DIRS=	${MY_SUBDIR}
CONFIGURE_DIRS=	${MY_SUBDIR}

GNU_CONFIGURE=	yes

TEST_TARGET=	check

.include "../../textproc/hyperestraier/buildlink3.mk"
PTHREAD_AUTO_VARS=	yes
.include "../../mk/pthread.buildlink3.mk"
SUBST_CLASSES+=		pthread
SUBST_STAGE.pthread=	pre-configure
SUBST_FILES.pthread=	${MY_SUBDIR}/configure
SUBST_SED.pthread=	-e 's|-lpthread|${PTHREAD_LIBS}|'
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"