2012-10-09 15:59:41 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2010-04-23 12:42:27 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kyotocabinet
|
2012-05-28 19:12:11 +02:00
|
|
|
PORTVERSION= 1.2.76
|
2013-12-30 10:08:08 +01:00
|
|
|
PORTREVISION= 1
|
2010-04-23 12:42:27 +02:00
|
|
|
CATEGORIES= databases
|
2011-11-09 13:22:34 +01:00
|
|
|
MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \
|
2011-08-25 05:39:03 +02:00
|
|
|
LOCAL/sunpoet
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2011-08-25 05:39:03 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2013-08-21 19:17:25 +02:00
|
|
|
COMMENT= Straightforward implementation of DBM
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2011-08-22 17:52:10 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2012-10-09 15:59:41 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-12-27 03:16:28 +01:00
|
|
|
CPPFLAGS+= -fPIC
|
2011-12-07 14:54:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-12-27 03:16:28 +01:00
|
|
|
MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig
|
|
|
|
REINPLACE_ARGS= -i ''
|
2010-04-23 12:42:27 +02:00
|
|
|
USE_LDCONFIG= yes
|
2013-08-21 14:03:51 +02:00
|
|
|
USES= gmake
|
2011-11-10 22:31:27 +01:00
|
|
|
|
2013-12-27 03:16:28 +01:00
|
|
|
NOT_FOR_ARCHS= powerpc
|
|
|
|
NOT_FOR_ARCHS_REASON= does not link
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2011-11-09 13:22:34 +01:00
|
|
|
post-patch:
|
2013-12-30 10:08:08 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile
|
2010-04-23 12:42:27 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-03-18 17:13:58 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so.16.13.0
|
2014-03-01 08:24:12 +01:00
|
|
|
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
|
|
|
|
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2014-03-18 17:13:58 +01:00
|
|
|
regression-test test: build
|
2014-04-04 11:48:35 +02:00
|
|
|
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check
|
2014-03-18 17:13:58 +01:00
|
|
|
|
2014-03-01 08:24:12 +01:00
|
|
|
.include <bsd.port.mk>
|