aboutsummaryrefslogtreecommitdiff
path: root/net/ecore-con
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2008-03-11 21:13:53 +0000
committerStanislav Sedov <stas@FreeBSD.org>2008-03-11 21:13:53 +0000
commit9a2e4c8b780fc607dc4b4adabefb354c84401a96 (patch)
treef59767aed29b447d3d80ab987e898598663c27e3 /net/ecore-con
parent621c804e48a9fdddd6a00d78585fa8cb20c8460e (diff)
downloadports-9a2e4c8b780fc607dc4b4adabefb354c84401a96.tar.gz
ports-9a2e4c8b780fc607dc4b4adabefb354c84401a96.zip
Notes
Diffstat (limited to 'net/ecore-con')
-rw-r--r--net/ecore-con/Makefile71
-rw-r--r--net/ecore-con/distinfo3
-rw-r--r--net/ecore-con/files/patch-configure97
-rw-r--r--net/ecore-con/pkg-descr5
-rw-r--r--net/ecore-con/pkg-plist6
5 files changed, 182 insertions, 0 deletions
diff --git a/net/ecore-con/Makefile b/net/ecore-con/Makefile
new file mode 100644
index 000000000000..0c72e6d2252e
--- /dev/null
+++ b/net/ecore-con/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: ecore-con
+# Date created: 17 September 2007
+# Whom: Stanislav Sedov <stas@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= con
+PORTVERSION= 0.9.9.042
+PORTREVISION= 0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \
+ http://download.enlightenment.org/snapshots/2008-01-25/
+PKGNAMEPREFIX= ecore-
+DISTNAME= ecore-${PORTVERSION}
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= Enlightenment core abstraction library (con module)
+
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack pkgconfig gnometarget
+USE_LDCONFIG= yes
+USE_GETOPT_LONG=yes
+USE_EFL= ecore
+BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_con
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+
+CONFIGURE_ARGS= --enable-ecore-con \
+ --disable-ecore-config \
+ --disable-ecore-desktop \
+ --disable-ecore-directfb \
+ --disable-ecore-evas \
+ --disable-ecore-file \
+ --disable-ecore-ipc \
+ --disable-ecore-job \
+ --disable-ecore-sdl \
+ --disable-ecore-txt \
+ --disable-ecore-x \
+ --disable-ecore-imf \
+ --disable-ecore-imf_evas
+
+OPTIONS= CURL "Enable Curl support" on \
+ SSL "Enable SSL support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_CURL)
+CONFIGURE_ARGS+= --enable-curl
+LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl
+.else
+CONFIGURE_ARGS+= --disable-curl
+.endif
+
+.if !defined(WITHOUT_SSL)
+CONFIGURE_ARGS+= --enable-openssl
+.else
+CONFIGURE_ARGS+= --disable-openssl
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e \
+ 's,\$$\(top_builddir\)/src/lib/ecore/\.libs,${LOCALBASE}/lib,'\
+ -e 's,\$$\(top_builddir\)/src/lib/ecore/libecore\.la,-lecore,'\
+ ${BUILD_WRKSRC}/Makefile.in
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/ecore-con.pc \
+ ${PREFIX}/libdata/pkgconfig/
+
+.include <bsd.port.post.mk>
diff --git a/net/ecore-con/distinfo b/net/ecore-con/distinfo
new file mode 100644
index 000000000000..4672f6a1c167
--- /dev/null
+++ b/net/ecore-con/distinfo
@@ -0,0 +1,3 @@
+MD5 (ecore-0.9.9.042.tar.bz2) = a66df2b5f0b1a6abc47bb50bf2b26846
+SHA256 (ecore-0.9.9.042.tar.bz2) = 26486fd2c80e4000b673f81ce637aa50c17c767e4c2af8f56de5d110e387d136
+SIZE (ecore-0.9.9.042.tar.bz2) = 5285732
diff --git a/net/ecore-con/files/patch-configure b/net/ecore-con/files/patch-configure
new file mode 100644
index 000000000000..f94b78947228
--- /dev/null
+++ b/net/ecore-con/files/patch-configure
@@ -0,0 +1,97 @@
+--- configure.orig 2008-02-23 22:33:06.000000000 +0300
++++ configure 2008-02-23 22:36:34.000000000 +0300
+@@ -20543,94 +20543,15 @@
+ if test "${enable_openssl+set}" = set; then
+ enableval=$enable_openssl; want_openssl=$enableval
+
+-fi
+-
+-
+-if test "x$want_openssl" = "xyes"; then
+-
+-pkg_failed=no
+-{ echo "$as_me:$LINENO: checking for SSL" >&5
+-echo $ECHO_N "checking for SSL... $ECHO_C" >&6; }
+-
+-if test -n "$PKG_CONFIG"; then
+- if test -n "$SSL_CFLAGS"; then
+- pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
+- else
+- if test -n "$PKG_CONFIG" && \
+- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl\"") >&5
+- ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; then
+- pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
+-else
+- pkg_failed=yes
+-fi
+- fi
+-else
+- pkg_failed=untried
+-fi
+-if test -n "$PKG_CONFIG"; then
+- if test -n "$SSL_LIBS"; then
+- pkg_cv_SSL_LIBS="$SSL_LIBS"
+- else
+- if test -n "$PKG_CONFIG" && \
+- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl\"") >&5
+- ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; then
+- pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
+-else
+- pkg_failed=yes
+-fi
+- fi
+-else
+- pkg_failed=untried
+-fi
+-
+-
+-
+-if test $pkg_failed = yes; then
+-
+-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+- _pkg_short_errors_supported=yes
+-else
+- _pkg_short_errors_supported=no
+-fi
+- if test $_pkg_short_errors_supported = yes; then
+- SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl"`
+- else
+- SSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl"`
+- fi
+- # Put the nasty error message in config.log where it belongs
+- echo "$SSL_PKG_ERRORS" >&5
+-
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+- have_openssl="no"
+-
+-elif test $pkg_failed = untried; then
+- have_openssl="no"
+-
+-else
+- SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
+- SSL_LIBS=$pkg_cv_SSL_LIBS
+- { echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+-
+-
+ cat >>confdefs.h <<\_ACEOF
+ #define USE_OPENSSL 1
+ _ACEOF
+
+- requirements_ecore_con="$requirements_ecore_con openssl"
+ # no need to add it to req_ecore_ipc, since they
+ # depends on ecore_con anyway.
+ have_openssl="yes"
+
+ fi
+-fi
+
+ want_curl="yes"
+ have_curl="no"
diff --git a/net/ecore-con/pkg-descr b/net/ecore-con/pkg-descr
new file mode 100644
index 000000000000..2559668d0e57
--- /dev/null
+++ b/net/ecore-con/pkg-descr
@@ -0,0 +1,5 @@
+A core event abstracter layer and X abstraction layer that makes doing
+selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers
+fast, optimised, and convenient.
+
+WWW: http://enlightenment.sourceforge.net/Libraries/Ecore/
diff --git a/net/ecore-con/pkg-plist b/net/ecore-con/pkg-plist
new file mode 100644
index 000000000000..47463672d77a
--- /dev/null
+++ b/net/ecore-con/pkg-plist
@@ -0,0 +1,6 @@
+include/Ecore_Con.h
+lib/libecore_con.a
+lib/libecore_con.la
+lib/libecore_con.so
+lib/libecore_con.so.9
+libdata/pkgconfig/ecore-con.pc