summaryrefslogtreecommitdiffstats
path: root/net/uhttpmock
diff options
context:
space:
mode:
Diffstat (limited to 'net/uhttpmock')
-rw-r--r--net/uhttpmock/Makefile36
-rw-r--r--net/uhttpmock/distinfo2
-rw-r--r--net/uhttpmock/pkg-descr5
-rw-r--r--net/uhttpmock/pkg-plist13
4 files changed, 56 insertions, 0 deletions
diff --git a/net/uhttpmock/Makefile b/net/uhttpmock/Makefile
new file mode 100644
index 000000000..52074aff2
--- /dev/null
+++ b/net/uhttpmock/Makefile
@@ -0,0 +1,36 @@
+# Created by: Gustau Perez <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= uhttpmock
+PORTVERSION= 0.4.0.180914
+CATEGORIES= net gnome
+MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy= \
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= HTTP web service mocking library for GNOME
+
+BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
+ gtkdoc-rebase:${PORTSDIR}/textproc/gtk-doc
+LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
+
+WRKSRC= ${WRKDIR}/uhttpmock-uhttpmock
+
+USES= gettext gmake libtool pathfix pkgconfig
+USE_GNOME= gnomeprefix gtk20 introspection:build
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtoolize autoconf automake
+PATHFIX_MAKEFILEIN= Makefile.am
+INSTALL_TARGET= install-strip
+
+GO_ACCOUNT= uhttpmock
+GO_PROJECT= uhttpmock
+GO_TAGNAME= 2d07f3819399300
+FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
+
+pre-configure:
+ cd ${WRKSRC} && NOCONFIGURE=yes ${SH} ./autogen.sh
+
+.include <bsd.port.mk>
diff --git a/net/uhttpmock/distinfo b/net/uhttpmock/distinfo
new file mode 100644
index 000000000..17c88279a
--- /dev/null
+++ b/net/uhttpmock/distinfo
@@ -0,0 +1,2 @@
+SHA256 (uhttpmock-0.4.0.180914.tar.gz) = 2f34c36f575612c79c78a4d5811062a5b14bd3b610465d2abd7b703796315aef
+SIZE (uhttpmock-0.4.0.180914.tar.gz) = 57917
diff --git a/net/uhttpmock/pkg-descr b/net/uhttpmock/pkg-descr
new file mode 100644
index 000000000..79ae8f84b
--- /dev/null
+++ b/net/uhttpmock/pkg-descr
@@ -0,0 +1,5 @@
+uhttpmock is a HTTP web service mocking project for projects
+which use libsoup. It is still in its infancy, but is
+already used by https://wiki.gnome.org/libgdata for unit testing.
+
+WWW: https://gitorious.org/uhttpmock
diff --git a/net/uhttpmock/pkg-plist b/net/uhttpmock/pkg-plist
new file mode 100644
index 000000000..3936ee70f
--- /dev/null
+++ b/net/uhttpmock/pkg-plist
@@ -0,0 +1,13 @@
+include/libuhttpmock-0.0/uhttpmock/uhm-resolver.h
+include/libuhttpmock-0.0/uhttpmock/uhm-server.h
+include/libuhttpmock-0.0/uhttpmock/uhm-version.h
+include/libuhttpmock-0.0/uhttpmock/uhm.h
+lib/girepository-1.0/Uhm-0.0.typelib
+lib/libuhttpmock-0.0.a
+lib/libuhttpmock-0.0.so
+lib/libuhttpmock-0.0.so.0
+lib/libuhttpmock-0.0.so.0.1.0
+libdata/pkgconfig/libuhttpmock-0.0.pc
+share/gir-1.0/Uhm-0.0.gir
+@dirrmtry include/libuhttpmock-0.0/uhttpmock
+@dirrmtry include/libuhttpmock-0.0