freebsd-ports/x11-toolkits/elementary/Makefile
Baptiste Daroussin e836ab008a Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua

Approved by:	portmgr (implicit)
2014-05-26 15:28:28 +00:00

56 lines
1.3 KiB
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= elementary
PORTVERSION= 1.7.9
CATEGORIES= x11-toolkits enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
LOCAL/gblach/e17/
MAINTAINER= gblach@FreeBSD.org
COMMENT= Simple widget toolkit using EFL
LICENSE= LGPL21
DIST_SUBDIR= e17
GNU_CONFIGURE= yes
USES= lua pathfix pkgconfig tar:bzip2
USE_EFL= ecore eio edbus efreet embryo edje emotion ethumb \
libtool_hack librt_hack modarch_hack
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-quick-launch
OPTIONS_DEFINE= NLS EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
CONFIGURE_ARGS+=--enable-install-examples
.else
CONFIGURE_ARGS+=--disable-install-examples
.endif
post-patch:
@${REINPLACE_CMD} -e 's|= \$$(pkgdatadir)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
${WRKSRC}/src/examples/Makefile.in
@${LN} -s profile.src ${WRKSRC}/config/profile.cfg
@${LN} -s base.src ${WRKSRC}/config/default/base.cfg
@${LN} -s base.src ${WRKSRC}/config/mobile/base.cfg
@${LN} -s base.src ${WRKSRC}/config/standard/base.cfg
.if ${ARCH} == "sparc64"
BROKEN= Does not install on sparc64: signal 10
.endif
.include <bsd.port.mk>