35 lines
755 B
Makefile
35 lines
755 B
Makefile
# $OpenBSD: Makefile,v 1.9 2017/07/05 10:22:06 sthen Exp $
|
|
|
|
SHARED_LIBS += translate 0.0 # 0.0
|
|
|
|
COMMENT= library/CLI tool interfacing to online translation services
|
|
|
|
DISTNAME= libtranslate-0.99
|
|
REVISION= 5
|
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://www.nongnu.org/libtranslate/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c ffi glib-2.0 gio-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
WANTLIB += pcre pthread soup-2.4 xml2 lzma m sqlite3 z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=libtranslate/}
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= devel/glib2 \
|
|
devel/libsoup \
|
|
textproc/libxml
|
|
BUILD_DEPENDS += textproc/p5-XML-Parser
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
.include <bsd.port.mk>
|