1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/thrift-c_glib/Makefile
Dmitry Marakasov 33966e701a - Switch to USES=libtool, drop .la files
- Stagify

Approved by:	portmgr blanket
2014-08-26 19:33:41 +00:00

53 lines
1.2 KiB
Makefile

# Created by: Valery Komarov <komarov@valerka.net>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MAINTAINER= ports@FreeBSD.org
COMMENT= C glib interface to Thrift
PKGNAMESUFFIX= -c_glib
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= /thrift/${PORTVERSION
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
DISTNAME= thrift-${PORTVERSION}
BUILDIR= ${WRKDIR}/${DISTNAME}/lib/c_glib
LIB_DEPENDS= libglib-2.0.so:${PORTSDIR}/devel/glib20
USE_AUTOTOOLS= autoconf autoheader:env aclocal automake
ACLOCAL_ARGS= -I${WRKSRC}/aclocal
AUTOMAKE_ARGS= --foreign --add-missing --copy
USES= pkgconfig gmake libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
.include "../thrift/bsd.thrift.mk"
CONFIGURE_ARGS+= \
--with-c_glib \
--without-cpp \
--without-qt4 \
--without-csharp \
--without-erlang \
--without-haskell \
--without-java \
--without-perl \
--without-php \
--without-php_extension \
--without-python \
--without-ruby
post-patch:
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/c_glib/Makefile.am
.include <bsd.port.mk>