aboutsummaryrefslogtreecommitdiffstats
path: root/lang/embryo
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2012-12-23 04:54:59 +0800
committergblach <gblach@FreeBSD.org>2012-12-23 04:54:59 +0800
commitfb6528c60e3ea4f5ff74de6f21724d7ad28c0f7b (patch)
tree9c4bc08591050b7b536082be6db8392c913f8089 /lang/embryo
parent35e83ae5ca4ef2876eccf0e512467ede97187fb9 (diff)
downloadfreebsd-ports-gnome-fb6528c60e3ea4f5ff74de6f21724d7ad28c0f7b.tar.gz
freebsd-ports-gnome-fb6528c60e3ea4f5ff74de6f21724d7ad28c0f7b.tar.zst
freebsd-ports-gnome-fb6528c60e3ea4f5ff74de6f21724d7ad28c0f7b.zip
- Update Enlightenment to 0.17.0
- Update EFL to 1.7.4 - Convert to OptionsNG Approved by: crees (mentor)
Diffstat (limited to 'lang/embryo')
-rw-r--r--lang/embryo/Makefile12
-rw-r--r--lang/embryo/distinfo4
-rw-r--r--lang/embryo/files/extra-patch-src-lib-embryo_float.c10
-rw-r--r--lang/embryo/pkg-plist2
4 files changed, 22 insertions, 6 deletions
diff --git a/lang/embryo/Makefile b/lang/embryo/Makefile
index 0f69581d16d7..d7784c010865 100644
--- a/lang/embryo/Makefile
+++ b/lang/embryo/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= embryo
-DISTVERSION= 1.1.0
+PORTVERSION= 1.7.4
PORTEPOCH= 2
CATEGORIES= lang enlightenment
MASTER_SITES= http://download.enlightenment.org/releases/ \
- http://files.roorback.net/e17/2011-12-02/base/
+ LOCAL/gblach/e17/
MAINTAINER= gblach@FreeBSD.org
COMMENT= A C like scripting language used in Enlightenment
@@ -20,4 +20,10 @@ USE_EFL= eina libtool_hack librt_hack
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 803000
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-lib-embryo_float.c
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/embryo/distinfo b/lang/embryo/distinfo
index 07da70616523..0e0a99bbad12 100644
--- a/lang/embryo/distinfo
+++ b/lang/embryo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (e17/embryo-1.1.0.tar.bz2) = a95fa6ac4ec4c98c9a237214d2c4bde561dbe1daefaa2ed5e9c2944c2c8e9e5b
-SIZE (e17/embryo-1.1.0.tar.bz2) = 443457
+SHA256 (e17/embryo-1.7.4.tar.bz2) = c8886dd5df2948cdb1463f627c2ce92faf642f29e38f0692f80f51ad3495ee67
+SIZE (e17/embryo-1.7.4.tar.bz2) = 459454
diff --git a/lang/embryo/files/extra-patch-src-lib-embryo_float.c b/lang/embryo/files/extra-patch-src-lib-embryo_float.c
new file mode 100644
index 000000000000..676836faa441
--- /dev/null
+++ b/lang/embryo/files/extra-patch-src-lib-embryo_float.c
@@ -0,0 +1,10 @@
+--- src/lib/embryo_float.c.orig 2012-11-12 14:59:38.000000000 +0100
++++ src/lib/embryo_float.c 2012-11-12 15:00:04.000000000 +0100
+@@ -263,7 +263,6 @@
+ return 0;
+ }
+ if (ff == 10.0) f = log10f(f);
+- else if (ff == 2.0) f = log2f(f);
+ else
+ {
+ tf = logf(ff);
diff --git a/lang/embryo/pkg-plist b/lang/embryo/pkg-plist
index 525810ef3889..9505c6824436 100644
--- a/lang/embryo/pkg-plist
+++ b/lang/embryo/pkg-plist
@@ -1,7 +1,7 @@
bin/embryo_cc
include/embryo-1/Embryo.h
lib/libembryo.so
-lib/libembryo.so.2
+lib/libembryo.so.8
libdata/pkgconfig/embryo.pc
%%DATADIR%%/include/default.inc
@dirrm %%DATADIR%%/include