pkgsrc/databases/java-tokyocabinet/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2019-07-11 11:25:24 +02:00
# $NetBSD: Makefile,v 1.16 2019/07/11 09:25:24 nia Exp $
#
2013-10-27 13:51:14 +01:00
DISTNAME= tokyocabinet-java-1.24
PKGNAME= java-${DISTNAME:S/-java//}
CATEGORIES= databases
2010-03-12 11:21:54 +01:00
MASTER_SITES= ${HOMEPAGE:S/javadoc/javapkg/}
2015-03-15 20:42:33 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
2019-07-11 11:25:24 +02:00
HOMEPAGE= https://fallabs.com/tokyocabinet/javadoc/
COMMENT= Java binding of Tokyo Cabinet
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LANGUAGES= c
MAKE_ENV+= INCLUDEDIR=${BUILDLINK_PREFIX.tokyocabinet}/include
TEST_TARGET= check
CPPFLAGS.SunOS+= -D__EXTENSIONS__
INSTALLATION_DIRS+= share/tokyocabinet/doc/java
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/index.html \
${DESTDIR}${PREFIX}/share/tokyocabinet/doc/java/index.html
2009-07-09 13:30:29 +02:00
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.29
.include "../../databases/tokyocabinet/buildlink3.mk"
.include "../../mk/java-vm.mk"
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
.endif
.include "../../mk/bsd.pkg.mk"