2005-02-09 20:12:05 +01:00
|
|
|
# New ports collection makefile for: libtranslate
|
|
|
|
# Date created: 15 Jan 2005
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libtranslate
|
|
|
|
PORTVERSION= 0.99
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2005-02-09 20:12:05 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2008-04-29 07:11:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-02-09 20:12:05 +01:00
|
|
|
COMMENT= A natural language translation library
|
|
|
|
|
|
|
|
USE_GNOME= glib20 gnomehack intlhack
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2007-03-28 13:56:32 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-02-09 20:12:05 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
|
|
|
|
|
|
|
OPTIONS= GENERIC "generic module" on \
|
|
|
|
TALKFILTERS "talkfilters module" on
|
|
|
|
|
|
|
|
MAN1= translate.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_GENERIC)
|
|
|
|
CONFIGURE_ARGS+= --disable-generic
|
|
|
|
PLIST_SUB+= GENERIC="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GENERIC=""
|
|
|
|
USE_GNOME+= libxml2
|
2008-03-24 04:52:36 +01:00
|
|
|
LIB_DEPENDS+= soup-2.2:${PORTSDIR}/devel/libsoup22
|
2005-02-09 20:12:05 +01:00
|
|
|
MAN5+= services.xml.5
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_TALKFILTERS)
|
|
|
|
CONFIGURE_ARGS+= --disable-talkfilters
|
|
|
|
PLIST_SUB+= TALKFILTERS="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= TALKFILTERS=""
|
|
|
|
LIB_DEPENDS+= talkfilters:${PORTSDIR}/misc/talkfilters
|
|
|
|
.endif
|
|
|
|
|
2007-03-28 13:56:32 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
|
|
|
|
2005-02-09 20:12:05 +01:00
|
|
|
.include <bsd.port.post.mk>
|