mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
cdd8a1f9d0
* Fixes an occasional lockup in translate_session_translate_text(). Approved by: adamw (mentor)
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# New ports collection makefile for: libtranslate
|
|
# Date created: 15 Jan 2005
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libtranslate
|
|
PORTVERSION= 0.99
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= jylefort@FreeBSD.org
|
|
COMMENT= A natural language translation library
|
|
|
|
USE_GETOPT_LONG= yes
|
|
USE_GNOME= glib20 gnomehack intlhack
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
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
|
|
LIB_DEPENDS+= soup-2.2:${PORTSDIR}/devel/libsoup
|
|
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
|
|
|
|
.include <bsd.port.post.mk>
|