1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/databases/kyotocabinet/Makefile
Sunpoet Po-Chuan Hsieh 0af7eae6b6 - Update to 1.2.76
Changes:
- kcthread.cc (CondVar::wait): a bug on Win32 was fixed.
- kcdbext.h (IndexDB::set, IndexDB::replace): a bug of updating existing records
  was fixed.
- kcdb.h (DB::check): new function.
2012-05-28 17:12:11 +00:00

74 lines
1.5 KiB
Makefile

# New ports collection makefile for: kyotocabinet
# Date created: 22 April 2010
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= kyotocabinet
PORTVERSION= 1.2.76
CATEGORIES= databases
MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A straightforward implementation of DBM
LICENSE= GPLv3
GNU_CONFIGURE= yes
MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig"
MAKE_JOBS_SAFE= yes
USE_GCC= 4.2+
USE_GMAKE= yes
USE_LDCONFIG= yes
MAN1= kccachetest.1 \
kcdirmgr.1 \
kcdirtest.1 \
kcforestmgr.1 \
kcforesttest.1 \
kcgrasstest.1 \
kchashmgr.1 \
kchashtest.1 \
kclangctest.1 \
kcpolymgr.1 \
kcpolytest.1 \
kcprototest.1 \
kcstashtest.1 \
kctreemgr.1 \
kctreetest.1 \
kcutilmgr.1 \
kcutiltest.1
.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
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
${FIND} ${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/
.endif
.if exists(${PKGMESSAGE})
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>