2002-06-23 08:18:08 +00:00
|
|
|
# New ports collection makefile for: GNU/mifluz
|
|
|
|
# Date created: 07 June 2002
|
|
|
|
# Whom: Frederic Dubuy <fdubuy@free.fr>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mifluz
|
|
|
|
PORTVERSION= 0.23.0
|
2002-07-31 09:45:44 +00:00
|
|
|
PORTREVISION= 1
|
2002-06-23 08:18:08 +00:00
|
|
|
CATEGORIES= textproc
|
2002-07-31 09:45:44 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-06-23 08:18:08 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= C++ library to build and query a full text inverted index
|
2002-06-23 08:18:08 +00:00
|
|
|
|
2002-07-31 09:45:44 +00:00
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
2002-06-23 08:18:08 +00:00
|
|
|
|
2002-07-31 09:45:44 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--without-unac
|
2002-06-23 08:18:08 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-11-24 10:51:18 +00:00
|
|
|
USE_BISON= yes
|
|
|
|
USE_GCC= 2.95
|
|
|
|
|
2002-06-23 08:18:08 +00:00
|
|
|
MAN1= htdb_dump.1 htdb_stat.1 htdb_load.1 mifluzdump.1 mifluzload.1 \
|
|
|
|
mifluzsearch.1 mifluzdict.1
|
|
|
|
MAN3= WordContext.3 WordList.3 WordDict.3 WordListOne.3 WordKey.3 \
|
|
|
|
WordKeyInfo.3 WordType.3 WordDBInfo.3 WordRecordInfo.3 \
|
|
|
|
WordRecord.3 WordReference.3 WordCursor.3 WordCursorOne.3 \
|
|
|
|
WordMonitor.3 Configuration.3 mifluz.3
|
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2002-07-31 09:45:44 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's|-D_THREAD_SAFE -pthread|${PTHREAD_CFLAGS}|g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC}/doc \
|
|
|
|
&& makeinfo --no-split --force mifluz.texinfo || ${TRUE}
|
|
|
|
|
2002-06-23 08:18:08 +00:00
|
|
|
post-install:
|
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
|
|
|
|
${PKGMESSAGE}
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO_MSG}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|