blob: 03643fabb6418ad5a824f887d3e8630804bc88be (
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
|
# New ports collection makefile for: tokyodystopia
# Date created: 2009-02-04
# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tokyodystopia
PORTVERSION= 0.9.12
CATEGORIES= textproc
MASTER_SITES= SOURCEFORGE \
http://tokyocabinet.sourceforge.net/dystopiapkg/
MASTER_SITE_SUBDIR= tokyocabinet
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= A full-text search system based on Tokyo Cabinet
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
MAN1= dystmgr.1 \
dysttest.1 \
lapumgr.1 \
laputest.1 \
tcqmgr.1 \
tcqtest.1 \
tcwmgr.1 \
tcwtest.1
MAN3= dystopia.3 \
laputa.3 \
tcidb.3 \
tcjdb.3 \
tcqdb.3 \
tcwdb.3
SHLIB_VER= 1.13.0
SHLIB_VER_MAJ= 1
PLIST_SUB+= SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
post-patch:
${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|mkdir -p $$(DESTDIR)$$(DATADIR)||' \
-e 's|cp -Rf $$(DOCUMENTFILES) $$(DESTDIR)$$(DATADIR)||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
|