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
|
2012-03-28 21:05:23 +02:00
|
|
|
PORTVERSION= 1.2.74
|
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
|
2010-04-23 12:42:27 +02:00
|
|
|
COMMENT= A straightforward implementation of DBM
|
|
|
|
|
2011-08-22 17:52:10 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2011-12-07 14:54:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig"
|
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
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2011-11-10 22:31:27 +01:00
|
|
|
|
2010-04-23 12:42:27 +02:00
|
|
|
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
|
|
|
|
|
2011-12-07 14:54:36 +01: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
|
|
|
|
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
|
|
BROKEN= Does not link on powerpc
|
|
|
|
.endif
|
|
|
|
|
2011-11-09 13:22:34 +01:00
|
|
|
post-patch:
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2010-04-23 12:42:27 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2011-11-09 13:22:34 +01:00
|
|
|
${FIND} ${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
|
|
|
|
${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${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>
|