blob: 4885936a88b59bb8a06bb4978ceb443a1e61bb25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= imlib2_loaders
PORTVERSION= 1.4.6
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
GNU_CONFIGURE= yes
USES= pathfix pkgconfig tar:bzip2
USE_EFL= imlib2 libtool_hack
OPTIONS_DEFINE= EET XCF
OPTIONS_DEFAULT= EET XCF
EET_DESC= Enable eet loader
XCF_DESC= Enable XCF loader
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>
|