# New ports collection makefile for: kyototycoon # Date created: 2011-10-04 # Whom: Sunpoet Po-Chuan Hsieh # # $FreeBSD$ # PORTNAME= kyototycoon PORTVERSION= 0.9.56 CATEGORIES= databases MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= A handy cache/storage server LIB_DEPENDS= kyotocabinet:${PORTSDIR}/databases/kyotocabinet CONFIGURE_ARGS= --enable-profile --enable-uyield GNU_CONFIGURE= yes MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig" MAKE_JOBS_SAFE= yes USE_GMAKE= yes USE_LDCONFIG= yes MAN1= ktremotemgr.1 \ ktremotetest.1 \ ktserver.1 \ kttimedmgr.1 \ kttimedtest.1 \ ktutilmgr.1 \ ktutilserv.1 \ ktutiltest.1 post-patch: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif post-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile 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 regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check .include