2010-04-23 12:42:27 +02:00
|
|
|
# New ports collection makefile for: kyotocabinet
|
|
|
|
# Date created: 22 April 2010
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kyotocabinet
|
2011-08-22 17:52:10 +02:00
|
|
|
PORTVERSION= 1.2.70
|
2010-04-23 12:42:27 +02:00
|
|
|
CATEGORIES= databases
|
2011-08-25 05:39:03 +02:00
|
|
|
MASTER_SITES= http://fallabs.com/kyotocabinet/pkg/ \
|
|
|
|
LOCAL/sunpoet
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2011-08-25 05:39:03 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2010-04-23 12:42:27 +02:00
|
|
|
COMMENT= A straightforward implementation of DBM
|
|
|
|
|
2011-08-22 17:52:10 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2010-04-23 12:42:27 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2010-05-05 17:47:14 +02:00
|
|
|
USE_GCC= 4.2+
|
2010-04-23 12:42:27 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig"
|
|
|
|
|
2010-05-07 18:56:42 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "i386" && !defined(CPUTYPE)
|
|
|
|
CONFIGURE_TARGET= i586-portbld-freebsd${OSREL}
|
|
|
|
CPUTYPE= i586
|
|
|
|
PKGMESSAGE= ${FILESDIR}/pkg-message.${ARCH}
|
|
|
|
# _CPUCFLAGS will somehow show up twice in CFLAGS but who cares..
|
|
|
|
.include <bsd.cpu.mk>
|
|
|
|
.endif
|
|
|
|
|
2010-04-23 12:42:27 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= kccachetest.1 \
|
2010-09-10 06:16:57 +02:00
|
|
|
kcdirmgr.1 \
|
|
|
|
kcdirtest.1 \
|
|
|
|
kcforestmgr.1 \
|
|
|
|
kcforesttest.1 \
|
|
|
|
kcgrasstest.1 \
|
2010-04-23 12:42:27 +02:00
|
|
|
kchashmgr.1 \
|
|
|
|
kchashtest.1 \
|
|
|
|
kclangctest.1 \
|
|
|
|
kcpolymgr.1 \
|
|
|
|
kcpolytest.1 \
|
|
|
|
kcprototest.1 \
|
2011-08-22 17:52:10 +02:00
|
|
|
kcstashtest.1 \
|
2010-04-23 12:42:27 +02:00
|
|
|
kctreemgr.1 \
|
|
|
|
kctreetest.1 \
|
2011-08-22 17:52:10 +02:00
|
|
|
kcutilmgr.1 \
|
2010-04-23 12:42:27 +02:00
|
|
|
kcutiltest.1
|
|
|
|
|
|
|
|
check: build
|
|
|
|
cd ${WRKSRC}; ${MAKE} check
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/kyotocabinet.idl ${DATADIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2010-09-10 06:16:57 +02:00
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "COPYING ChangeLog doc" ${DOCSDIR}/
|
2010-04-23 12:42:27 +02:00
|
|
|
.endif
|
2010-05-07 18:56:42 +02:00
|
|
|
.if exists(${PKGMESSAGE})
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2010-04-23 12:42:27 +02:00
|
|
|
|
2010-05-07 18:56:42 +02:00
|
|
|
.include <bsd.port.post.mk>
|