2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
|
2009-02-04 15:10:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tokyodystopia
|
2011-09-02 14:52:46 +02:00
|
|
|
PORTVERSION= 0.9.15
|
2009-02-04 15:10:32 +01:00
|
|
|
CATEGORIES= textproc
|
2011-09-02 14:52:46 +02:00
|
|
|
MASTER_SITES= http://fallabs.com/${PORTNAME}/
|
2009-02-04 15:10:32 +01:00
|
|
|
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2014-08-03 16:15:08 +02:00
|
|
|
COMMENT= Full-text search system based on Tokyo Cabinet
|
2009-02-04 15:10:32 +01:00
|
|
|
|
2014-08-19 18:49:59 +02:00
|
|
|
LICENSE= LGPL21
|
2014-06-12 16:22:02 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
|
2009-02-04 15:10:32 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-05-26 15:21:43 +02:00
|
|
|
USES= gmake
|
2009-02-04 15:10:32 +01:00
|
|
|
USE_LDCONFIG= yes
|
2009-07-08 04:00:29 +02:00
|
|
|
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
|
2009-02-04 15:10:32 +01:00
|
|
|
|
2010-04-27 15:05:37 +02:00
|
|
|
SHLIB_VER= 1.15.0
|
2009-03-28 15:49:00 +01:00
|
|
|
SHLIB_VER_MAJ= 1
|
|
|
|
|
2011-09-02 14:52:46 +02:00
|
|
|
PLIST_SUB= SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
|
|
|
|
|
2014-07-15 19:03:31 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2011-09-02 14:52:46 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} ${WRKSRC}/doc/index.html~
|
2009-03-28 15:49:00 +01:00
|
|
|
|
2009-02-04 15:10:32 +01:00
|
|
|
post-patch:
|
2011-09-02 14:52:46 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
|
|
|
|
-e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
|
2009-02-04 15:10:32 +01:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|