openbsd-ports/x11/e17/e/Makefile
2018-06-27 21:03:34 +00:00

49 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.72 2018/06/27 21:04:07 espie Exp $
COMMENT = the enlightened window manager
VERSION = 0.17.6
DISTNAME = enlightenment-${VERSION}
EPOCH = 1
REVISION = 13
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ${MODLUA_WANTLIB}
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender Xss Xtst c cares crypto curl dbus-1
WANTLIB += ecore ecore_con ecore_evas ecore_file ecore_imf
WANTLIB += ecore_imf_evas ecore_input ecore_input_evas ecore_ipc ecore_x
WANTLIB += edbus edje eet efreet efreet_mime efreet_trash ehal eina eio
WANTLIB += elementary embryo emotion enotify ethumb ethumb_client eukit
WANTLIB += evas execinfo exif expat fontconfig freetype fribidi glib-2.0
WANTLIB += graphite2 harfbuzz iconv intl jpeg m nghttp2 pcre pthread ssl
WANTLIB += xcb xcb-keysyms xcb-shape z
MODULES += lang/lua \
x11/e17
MODE17_DESKTOP_FILE = Yes
MODE17_PURGE_LA = lib/enlightenment/modules
LIB_DEPENDS = x11/e17/elementary>=1.7.10 \
devel/libexecinfo
CONFIGURE_ARGS += --disable-doc \
--disable-nls \
--disable-pam
CONFIGURE_ENV += CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
# Stupid crap in /src/modules/illume/dicts chokes in regular make.
# Some issue with the "(US)" bit
USE_GMAKE = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/enlightenment
mv ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/
.include <bsd.port.mk>