2012-11-04 14:05:04 +01:00
|
|
|
# Created by: Stanislav Sedov <stas@FreeBSD.org>
|
2008-03-11 22:13:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= main
|
2013-11-07 17:00:45 +01:00
|
|
|
PORTVERSION= 1.7.9
|
2010-12-14 08:30:56 +01:00
|
|
|
CATEGORIES= devel enlightenment
|
2013-10-25 21:58:18 +02:00
|
|
|
MASTER_SITES= http://download.enlightenment.org/releases/ \
|
2012-12-22 21:54:59 +01:00
|
|
|
LOCAL/gblach/e17/
|
2008-03-11 22:13:53 +01:00
|
|
|
PKGNAMEPREFIX= ecore-
|
2012-12-22 21:54:59 +01:00
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}
|
2008-03-11 22:13:53 +01:00
|
|
|
|
2012-11-04 14:05:04 +01:00
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
2008-03-11 22:13:53 +01:00
|
|
|
COMMENT= Enlightenment core abstraction library (main library)
|
|
|
|
|
2010-12-14 08:30:56 +01:00
|
|
|
LICENSE= BSD
|
2012-06-26 19:36:30 +02:00
|
|
|
|
2010-12-14 08:30:56 +01:00
|
|
|
DIST_SUBDIR= e17
|
2008-03-11 22:13:53 +01:00
|
|
|
USE_BZIP2= yes
|
2010-12-14 08:30:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-04-27 10:50:46 +02:00
|
|
|
USES= pathfix pkgconfig iconv
|
2010-12-14 08:30:56 +01:00
|
|
|
USE_EFL= eina libtool_hack
|
2008-03-11 22:13:53 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2012-06-26 19:36:30 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/ecore
|
|
|
|
|
2010-12-14 08:30:56 +01:00
|
|
|
.include "Makefile.inc"
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-02-21 14:36:12 +01:00
|
|
|
OPTIONS_DEFINE= NLS EXAMPLES
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-11 22:13:53 +01:00
|
|
|
|
2012-12-22 21:54:59 +01:00
|
|
|
.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
|
2012-06-26 19:36:30 +02:00
|
|
|
.else
|
2012-12-22 21:54:59 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-install-examples
|
2012-06-26 19:36:30 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|= \$$(datadir)/\$$(PACKAGE)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
|
|
|
|
${WRKSRC}/src/examples/Makefile.in
|
|
|
|
|
2008-03-11 22:13:53 +01:00
|
|
|
.include <bsd.port.mk>
|