blob: 0d45724d78b24116f0643b2a5858ca3148dc05cb (
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
|
# $NetBSD: Makefile,v 1.25 2020/05/01 00:08:22 joerg Exp $
COMMENT= Enlightened Canvas Library
.include "Makefile.common"
CONFIGURE_ARGS+= --enable-font-loader-eet
CONFIGURE_ENV+= EET_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.eet}/lib -L${BUILDLINK_PREFIX.eet}/lib -leet"
PKGCONFIG_OVERRIDE= evas.pc.in
INSTALLATION_DIRS= lib/evas/modules/loaders lib/evas/modules/savers \
share/doc/evas
.include "../../mk/bsd.prefs.mk"
PLIST_SRC+= PLIST
.if ${OPSYS} == "NetBSD"
. if exists(/var/shm)
# /var/shm was added together with shm_open, so use this as test.
PLIST_SRC+= PLIST.cserve
. endif
.elif ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" || ${OPSYS} == "Linux"
# No shm_open on OpenBSD/MirBSD
.else
# Assume shm_open exists as sane default.
PLIST_SRC+= PLIST.cserve
.endif
.if ${OPSYS} == "Darwin"
PLIST_SRC+= PLIST.Darwin
.endif
# Explicitly select cserve, avoids epoll/inotify.
CONFIGURE_ARGS.SunOS+= --enable-evas-cserve
CONFIGURE_ARGS.SunOS+= --disable-evas-cserve2
LIBS.SunOS+= -lsocket
post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING \
${DESTDIR}${PREFIX}/share/doc/evas
.include "../../devel/eet/buildlink3.mk"
.include "../../devel/eina/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|