mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
a0746bc874
- Update Enlightenment to 0.17.5
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
# Created by: Stanislav Sedov <stas@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= core
|
|
PORTVERSION= 1.7.9
|
|
CATEGORIES= graphics enlightenment
|
|
MASTER_SITES= http://download.enlightenment.org/releases/ \
|
|
LOCAL/gblach/e17/
|
|
PKGNAMEPREFIX= evas-
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}
|
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
|
COMMENT= A hardware accelerated canvas API (core library)
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
DIST_SUBDIR= e17
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USES= pathfix pkgconfig
|
|
USE_GCC= any
|
|
USE_EFL= librt_hack libtool_hack
|
|
USE_LDCONFIG= yes
|
|
DATADIR= ${PREFIX}/share/evas
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/evas
|
|
|
|
.include "Makefile.inc"
|
|
|
|
OPTIONS_DEFINE= EET FONTCONFIG FRIBIDI
|
|
OPTIONS_DEFAULT=EET FONTCONFIG FRIBIDI
|
|
EET_DESC= EET font loader
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MFONTCONFIG}
|
|
LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
|
|
CONFIGURE_ARGS+=--enable-fontconfig
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-fontconfig
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MFRIBIDI}
|
|
LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi
|
|
CONFIGURE_ARGS+=--enable-fribidi
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-fribidi
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEET}
|
|
USE_EFL+= eet
|
|
CONFIGURE_ARGS+=--enable-font-loader-eet
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-font-loader-eet
|
|
.endif
|
|
|
|
.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
|
|
|
|
.include <bsd.port.mk>
|