freebsd-ports/graphics/imlib2_loaders/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

50 lines
1.1 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= SF/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>