1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/textproc/mifluz/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

42 lines
991 B
Makefile

# Created by: Frederic Dubuy <fdubuy@free.fr>
# $FreeBSD$
PORTNAME= mifluz
PORTVERSION= 0.25.0
CATEGORIES= textproc
MASTER_SITES= GNU
MAINTAINER= pclin@FreeBSD.org
COMMENT= C++ library to build and query a full text inverted index
LICENSE= GPLv3
USE_GCC= any
USES= bison pathfix
USE_ICONV= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --without-unac
USE_LDCONFIG= yes
SUB_FILES= pkg-message
MAN1= htdb_dump.1 htdb_stat.1 htdb_load.1 mifluz-config.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
INFO= mifluz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE -pthread|${PTHREAD_CFLAGS}|g' \
${WRKSRC}/configure
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>