freebsd-ports/textproc/mifluz/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

54 lines
1.3 KiB
Makefile

# 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
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ library to build and query a full text inverted index
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_REINPLACE= yes
USE_LIBTOOL_VER=13
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--without-unac
INSTALLS_SHLIB= yes
USE_BISON= yes
USE_GCC= 2.95
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
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}
post-install:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
${PKGMESSAGE}
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>