pkgsrc/graphics/evas/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2014/03/22 20:15:20 spz Exp $
PKGREVISION= 2
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
2014-02-20 10:46:32 +01:00
.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
2012-01-12 16:34:24 +01:00
CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600
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"