2012-11-04 14:05:04 +01:00
|
|
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
|
2010-12-14 08:30:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= elementary
|
2013-08-07 22:57:26 +02:00
|
|
|
PORTVERSION= 1.7.8
|
2010-12-14 08:30:56 +01:00
|
|
|
CATEGORIES= x11-toolkits enlightenment
|
2013-01-15 18:01:33 +01:00
|
|
|
MASTER_SITES= http://download.enlightenment.fr/releases/ \
|
2012-12-22 21:54:59 +01:00
|
|
|
LOCAL/gblach/e17/
|
2010-12-14 08:30:56 +01:00
|
|
|
|
2012-11-04 14:05:04 +01:00
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
2010-12-14 08:30:56 +01:00
|
|
|
COMMENT= Simple widget toolkit using EFL
|
|
|
|
|
2012-06-26 19:36:30 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2010-12-14 08:30:56 +01:00
|
|
|
DIST_SUBDIR= e17
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2013-09-05 07:25:38 +02:00
|
|
|
USES= pathfix pkgconfig
|
2012-12-22 21:54:59 +01:00
|
|
|
USE_EFL= ecore eio edbus efreet embryo edje emotion ethumb \
|
|
|
|
libtool_hack librt_hack modarch_hack
|
2013-04-22 22:35:19 +02:00
|
|
|
USE_LUA= 5.1+
|
2010-12-14 08:30:56 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
CONFIGURE_ARGS= --disable-quick-launch
|
2012-06-26 19:36:30 +02:00
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2012-12-22 21:54:59 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-nls
|
2012-06-26 19:36:30 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
2012-12-22 21:54:59 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
2012-06-26 19:36:30 +02:00
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
CONFIGURE_ARGS+=--enable-install-examples
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-install-examples
|
|
|
|
.endif
|
|
|
|
|
2010-12-14 08:30:56 +01:00
|
|
|
post-patch:
|
2012-12-22 21:54:59 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|= \$$(pkgdatadir)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
|
|
|
|
${WRKSRC}/src/examples/Makefile.in
|
2012-06-26 19:36:30 +02:00
|
|
|
@${LN} -s profile.src ${WRKSRC}/config/profile.cfg
|
|
|
|
@${LN} -s base.src ${WRKSRC}/config/default/base.cfg
|
2012-12-22 21:54:59 +01:00
|
|
|
@${LN} -s base.src ${WRKSRC}/config/mobile/base.cfg
|
2012-06-26 19:36:30 +02:00
|
|
|
@${LN} -s base.src ${WRKSRC}/config/standard/base.cfg
|
|
|
|
|
|
|
|
post-install:
|
2012-12-22 21:54:59 +01:00
|
|
|
.if empty(PORT_OPTIONS:MEXAMPLES)
|
|
|
|
@${RMDIR} ${EXAMPLESDIR}
|
|
|
|
.endif
|
2012-09-08 08:53:18 +02:00
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not install on sparc64: signal 10
|
|
|
|
.endif
|
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
.include <bsd.port.mk>
|