summaryrefslogtreecommitdiff
path: root/databases/tokyotyrant/Makefile
blob: 81d0a94e5a27d779127d33d24015a5ffb08dbc38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	tokyotyrant
# Date created:		2009-03-09
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	tokyotyrant
PORTVERSION=	1.1.23
PORTREVISION=	4
CATEGORIES=	databases
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	tokyocabinet

MAINTAINER=	gslin@gslin.org
COMMENT=	Network interface of Tokyo Cabinet

BUILD_DEPENDS=	tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS=	tokyocabinet:${PORTSDIR}/databases/tokyocabinet
RUN_DEPENDS=	tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_GMAKE=	yes
USE_RC_SUBR=	ttserver

MAN1=		tcrmgr.1 tcrmttest.1 tcrtest.1 ttserver.1 ttulmgr.1 ttultest.1
MAN3=		tcrdb.3 tculog.3 ttutil.3
MAN8=		ttservctl.8

# Since gnomehack only works for "(libdir)" case, we need to patch it
# manually.
post-patch:
	${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>