blob: a4f0cdfb8748117ebb7b5167ca13edfcb8164f5c (
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
|
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PORTNAME= tokyodystopia
PORTVERSION= 0.9.15
CATEGORIES= textproc
MASTER_SITES= http://fallabs.com/${PORTNAME}/
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= A full-text search system based on Tokyo Cabinet
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
GNU_CONFIGURE= yes
USES= gmake
USE_LDCONFIG= yes
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
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.15.0
SHLIB_VER_MAJ= 1
PLIST_SUB= SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
NO_STAGE= yes
post-extract:
@${RM} ${WRKSRC}/doc/index.html~
post-patch:
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
-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>
|