1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/eet/Makefile
2014-02-21 13:36:12 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$
PORTNAME= eet
PORTVERSION= 1.7.9
PORTEPOCH= 2
CATEGORIES= devel enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
LOCAL/gblach/e17/
MAINTAINER= gblach@FreeBSD.org
COMMENT= Enlightenment Data Handling Library
LICENSE= BSD
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
DIST_SUBDIR= e17
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig
USE_EFL= eina librt_hack libtool_hack
USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" OPENSSL_LIBS="-lssl"
CONFIGURE_ARGS= --disable-gnutls
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
CONFIGURE_ARGS+=--enable-install-examples
.else
CONFIGURE_ARGS+=--disable-install-examples
.endif
post-patch:
@${REINPLACE_CMD} -e 's|= \$$(datadir)/\$$(PACKAGE)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
${WRKSRC}/src/examples/Makefile.in
post-install:
@${REINPLACE_CMD} -i '' -e 's/ openssl//' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/eet.pc
.include <bsd.port.mk>