aboutsummaryrefslogtreecommitdiff
path: root/databases/libmemcached/Makefile
blob: 6de3c034830f3a6ff561809de0bd57908f823f1d (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# New ports collection makefile for:	libmemcached
# Date created:				January 22, 2008
# Whom:					Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libmemcached
PORTVERSION=	0.28
PORTREVISION=	0
CATEGORIES=	databases
MASTER_SITES=	http://download.tangent.org/

MAINTAINER=	vanilla@FreeBSD.org
COMMENT=	A C and C++ client library to the memcached server

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnometarget pkgconfig

post-patch:
	${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \
			${WRKSRC}/support/Makefile.in
.if defined(NO_INSTALL_MANPAGES)
	${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in
.endif

.if !defined(NO_INSTALL_MANPAGES)
USE_PERL5_BUILD=yes # pod2man
MAN1=		memcat.1 memcp.1 memerror.1 memflush.1 memrm.1 memslap.1 memstat.1
MAN3=		libmemcached.3 \
		libmemcached_examples.3 \
		memcached_add.3 \
		memcached_add_by_key.3 \
		memcached_analyze.3 \
		memcached_append.3 \
		memcached_append_by_key.3 \
		memcached_behavior_get.3 \
		memcached_behavior_set.3 \
		memcached_callback_get.3 \
		memcached_callback_set.3 \
		memcached_cas.3 \
		memcached_cas_by_key.3 \
		memcached_clone.3 \
		memcached_create.3 \
		memcached_decrement.3 \
		memcached_delete.3 \
		memcached_delete_by_key.3 \
		memcached_fetch.3 \
		memcached_flush_buffers.3 \
		memcached_fetch_execute.3 \
		memcached_fetch_result.3 \
		memcached_free.3 \
		memcached_generate_hash_value.3 \
		memcached_get.3 \
		memcached_get_by_key.3 \
		memcached_increment.3 \
		memcached_lib_version.3 \
		memcached_mget.3 \
		memcached_mget_by_key.3 \
		memcached_prepend.3 \
		memcached_prepend_by_key.3 \
		memcached_quit.3 \
		memcached_replace.3 \
		memcached_replace_by_key.3 \
		memcached_server_add.3 \
		memcached_server_count.3 \
		memcached_server_list.3 \
		memcached_server_list_append.3 \
		memcached_server_list_count.3 \
		memcached_server_list_free.3 \
		memcached_server_push.3 \
		memcached_servers_parse.3 \
		memcached_set.3 \
		memcached_set_by_key.3 \
		memcached_stat.3 \
		memcached_stat_get_keys.3 \
		memcached_stat_get_value.3 \
		memcached_stat_servername.3 \
		memcached_strerror.3 \
		memcached_verbosity.3 \
		memcached_version.3
.endif

.include <bsd.port.mk>