aboutsummaryrefslogtreecommitdiff
path: root/net/libgnetwork/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-03 08:32:58 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-03 08:32:58 +0000
commita50225470362fed8b02a7c7d31a5489983e1cb6d (patch)
tree881907a0e087de3be2d10049a9d8d2f61b5cb646 /net/libgnetwork/Makefile
parent9b079b4d1528c86452ffdcfa65470111d77c5684 (diff)
Notes
Diffstat (limited to 'net/libgnetwork/Makefile')
-rw-r--r--net/libgnetwork/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/net/libgnetwork/Makefile b/net/libgnetwork/Makefile
new file mode 100644
index 000000000000..8f7918987cbb
--- /dev/null
+++ b/net/libgnetwork/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: libgnetwork
+# Date created: 11 December 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnetwork
+PORTVERSION= 0.0.4
+CATEGORIES= net gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.0
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A GLib-based networking wrapper
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack gconf2
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.if !defined(WITHOUT_SSL)
+LIB_DEPENDS+= gnutls.7:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+=--enable-ssl=gnutls
+.else
+CONFIGURE_ARGS+=--enable-ssl=no
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "libgnetwork has the following configurable option(s):"
+ @${ECHO_MSG} " WITHOUT_SSL Disable GnuTLS SSL support"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \
+ s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";|'
+
+.include <bsd.port.mk>