summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-12 22:55:47 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-12 22:55:47 +0800
commit8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f (patch)
tree2df47a230417a25b85f313c7af5d3819465c5a2f /net
parent1782fc0bf5065518e374e5351fa98945ebbb9244 (diff)
downloadmarcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar.gz
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar.bz2
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar.lz
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar.xz
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.tar.zst
marcuscom-ports-8bd1c6fc8bb6eca9bbf9a3b5e8750dc8b791fc4f.zip
Add glib-networking.
Network-related giomodules for glib. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14992 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/glib-networking/Makefile40
-rw-r--r--net/glib-networking/distinfo2
-rw-r--r--net/glib-networking/pkg-descr1
-rw-r--r--net/glib-networking/pkg-plist9
4 files changed, 52 insertions, 0 deletions
diff --git a/net/glib-networking/Makefile b/net/glib-networking/Makefile
new file mode 100644
index 000000000..abd5ebd2b
--- /dev/null
+++ b/net/glib-networking/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: glib-networking
+# Date Created: 06 Jan 2011
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= glib-networking
+PORTVERSION= 2.27.90
+PORTREVISION= 0
+CATEGORIES= net
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Network-related giomodules for glib
+
+BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+LIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls \
+ proxy.1:${PORTSDIR}/net/libproxy
+RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack pkgconfig _glib20 intltool
+USE_GETTEXT= yes
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
+CONFIGURE_ARGS= --enable-static \
+ --with-ca-certificates=${LOCALBASE}/share/cert/ca-root-nss.crt
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+post-patch:
+ @${REINPLACE_CMD} -e' s|-Wmissing-include-dirs||g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/net/glib-networking/distinfo b/net/glib-networking/distinfo
new file mode 100644
index 000000000..86eb7481b
--- /dev/null
+++ b/net/glib-networking/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/glib-networking-2.27.90.tar.bz2) = 828b7d13d14f401b849bde5c31e92e7ecd7c7db9c4ce4ec47b7025fb63600469
+SIZE (gnome2/glib-networking-2.27.90.tar.bz2) = 288254
diff --git a/net/glib-networking/pkg-descr b/net/glib-networking/pkg-descr
new file mode 100644
index 000000000..2ac8ccb12
--- /dev/null
+++ b/net/glib-networking/pkg-descr
@@ -0,0 +1 @@
+Network-related giomodules for glib.
diff --git a/net/glib-networking/pkg-plist b/net/glib-networking/pkg-plist
new file mode 100644
index 000000000..e45c70be6
--- /dev/null
+++ b/net/glib-networking/pkg-plist
@@ -0,0 +1,9 @@
+lib/gio/modules/libgiognutls.a
+lib/gio/modules/libgiognutls.la
+lib/gio/modules/libgiognutls.so
+lib/gio/modules/libgiolibproxy.a
+lib/gio/modules/libgiolibproxy.la
+lib/gio/modules/libgiolibproxy.so
+share/locale/en_CA/LC_MESSAGES/glib-networking.mo
+@exec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true
+@unexec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true