freebsd-ports/graphics/imlib2_loaders/Makefile
Grzegorz Blach a781a6e13c - Remove Mk/bsd.efl.mk
- Convert USE_EFL=libtool_hack to USES=libtool
- Convert USE_EFL=imlib2 to LIB_DEPENDS=libImlib2.so:...
- Bump PORTVERSION in graphics/imlib2 and in all ports
  which depends on imlib2

PR:		196062
Approved by:	portmgr
2014-12-27 00:09:02 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= imlib2_loaders
PORTVERSION= 1.4.6
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= graphics enlightenment
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= enlightenment/imlib2-src/${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= Extra image loader plugins for Imlib 2
LICENSE= imlib2 GPLv2
LICENSE_COMB= multi
LICENSE_NAME_imlib2= imlib2 license
LICENSE_FILE_imlib2= ${WRKSRC}/COPYING
LICENSE_PERMS_imlib2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig tar:bzip2
OPTIONS_DEFINE= EET XCF
OPTIONS_DEFAULT= EET XCF
EET_DESC= Enable eet loader
XCF_DESC= Enable XCF loader
CONFIGURE_ARGS= --disable-static
MAKE_ENV+= INSTALL_STRIP_FLAG="${STRIP}"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEET}
LIB_DEPENDS+= libefl.so:${PORTSDIR}/devel/efl
PLIST_SUB+= EET=""
.else
CONFIGURE_ARGS+= --disable-eet
PLIST_SUB+= EET="@comment "
.endif
.if ${PORT_OPTIONS:MXCF}
PLIST_SUB+= XCF=""
.else
CONFIGURE_ARGS+= --disable-xcf
PLIST_SUB+= XCF="@comment "
.endif
.include <bsd.port.mk>