aboutsummaryrefslogtreecommitdiff
path: root/net/freerdp
diff options
context:
space:
mode:
authorAlexander Logvinov <avl@FreeBSD.org>2010-08-04 04:08:04 +0000
committerAlexander Logvinov <avl@FreeBSD.org>2010-08-04 04:08:04 +0000
commitec3bd3d35b0424b5c6904f477cb7ca818805806d (patch)
tree496ea6b2a848c57b6b8e6b194f2506f084d3b12d /net/freerdp
parent566a9bf55a624782e9122d075a586d1f71c26bab (diff)
downloadports-ec3bd3d35b0424b5c6904f477cb7ca818805806d.tar.gz
ports-ec3bd3d35b0424b5c6904f477cb7ca818805806d.zip
Notes
Diffstat (limited to 'net/freerdp')
-rw-r--r--net/freerdp/Makefile85
-rw-r--r--net/freerdp/distinfo3
-rw-r--r--net/freerdp/pkg-descr13
-rw-r--r--net/freerdp/pkg-plist61
4 files changed, 162 insertions, 0 deletions
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
new file mode 100644
index 000000000000..6168f16ee5e2
--- /dev/null
+++ b/net/freerdp/Makefile
@@ -0,0 +1,85 @@
+# New ports collection makefile for: freerdp
+# Date created: 04 July 2010
+# Whom: Alexander Logvinov <avl@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freerdp
+PORTVERSION= 0.7.3
+CATEGORIES= net comms ipv6
+MASTER_SITES= SF/${PORTNAME}/0.7
+
+MAINTAINER= avl@FreeBSD.org
+COMMENT= A free remote desktop protocol client
+
+OPTIONS= CUPS "Enable printer support via CUPS" on \
+ SOUND "Enable sound support via ALSA" on \
+ SAMPLERATE "Enable libsamplerate support for sound" off
+
+GNU_CONFIGURE= yes
+USE_OPENSSL= yes
+USE_GNOME= gnomehack pkgconfig
+USE_LDCONFIG= yes
+
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS}"
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--enable-ipv6
+.else
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
+.if !defined(WITHOUT_ICONV)
+USE_ICONV= yes
+CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--disable-iconv
+.endif
+
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+=--with-x=no
+PLIST_SUB+= X11="@comment "
+.else
+USE_XORG= x11 xcursor xextproto
+CONFIGURE_ARGS+=--with-x
+MAN1= xfreerdp.1
+PLIST_SUB+= X11=""
+.endif
+
+.if !defined(WITHOUT_CUPS)
+CONFIGURE_ARGS+=--with-printer=cups
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
+.else
+CONFIGURE_ARGS+=--with-printer=no
+.endif
+
+.if !defined(WITHOUT_SOUND)
+CONFIGURE_ARGS+=--with-sound=alsa
+LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
+PLIST_SUB+= SOUND=""
+.if !defined(WITHOUT_SAMPLERATE)
+LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
+.else
+CONFIGURE_ARGS+=--without-libsamplerate
+.endif
+.else
+CONFIGURE_ARGS+=--with-sound=no
+PLIST_SUB+= SOUND="@comment "
+.endif
+
+do-patch:
+.if defined(WITHOUT_X11)
+ @${REINPLACE_CMD} -e 's|man_MANS = |man_MANS1 = |g' ${WRKSRC}/doc/Makefile.in
+.endif
+ @${REINPLACE_CMD} -e 's|-ldl -lpthread|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/libfreerdpchanman/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/net/freerdp/distinfo b/net/freerdp/distinfo
new file mode 100644
index 000000000000..af335715d40e
--- /dev/null
+++ b/net/freerdp/distinfo
@@ -0,0 +1,3 @@
+MD5 (freerdp-0.7.3.tar.gz) = 32b7e5db4a8f9d5a1562d6b31a235226
+SHA256 (freerdp-0.7.3.tar.gz) = 74db5c15d443272c1b450216d92905e56bf012dd8a59bee7590679afad1535e4
+SIZE (freerdp-0.7.3.tar.gz) = 791925
diff --git a/net/freerdp/pkg-descr b/net/freerdp/pkg-descr
new file mode 100644
index 000000000000..1ba1cae4f6a7
--- /dev/null
+++ b/net/freerdp/pkg-descr
@@ -0,0 +1,13 @@
+FreeRDP is a fork of the rdesktop project that intends to rapidly start moving
+forward and implement features that rdesktop lacks the most.
+
+Improvements:
+
+ * Support for cursors on Windows Server 2008 R2
+ * Support for bitmap caching, which provides a good performance boost
+ * Support for Windows Server 2008 Terminal Services Session Broker Load
+ Balancing
+ * New keyboard input system based on the XKB database, providing better support
+ for international keyboards
+
+WWW: http://freerdp.sourceforge.net/
diff --git a/net/freerdp/pkg-plist b/net/freerdp/pkg-plist
new file mode 100644
index 000000000000..72ade2446fed
--- /dev/null
+++ b/net/freerdp/pkg-plist
@@ -0,0 +1,61 @@
+%%X11%%bin/xfreerdp
+include/freerdp/chanman.h
+include/freerdp/constants_ui.h
+include/freerdp/constants_vchan.h
+include/freerdp/freerdp.h
+include/freerdp/kbd.h
+include/freerdp/rdpset.h
+include/freerdp/types_ui.h
+include/freerdp/vchan.h
+lib/freerdp/cliprdr.a
+lib/freerdp/cliprdr.la
+lib/freerdp/cliprdr.so
+lib/freerdp/disk.a
+lib/freerdp/disk.la
+lib/freerdp/disk.so
+lib/freerdp/printer.a
+lib/freerdp/printer.la
+lib/freerdp/printer.so
+lib/freerdp/rdpdr.a
+lib/freerdp/rdpdr.la
+lib/freerdp/rdpdr.so
+%%SOUND%%lib/freerdp/rdpsnd.a
+%%SOUND%%lib/freerdp/rdpsnd.la
+%%SOUND%%lib/freerdp/rdpsnd.so
+lib/libfreerdp.a
+lib/libfreerdp.la
+lib/libfreerdp.so
+lib/libfreerdp.so.0
+lib/libfreerdpchanman.a
+lib/libfreerdpchanman.la
+lib/libfreerdpchanman.so
+lib/libfreerdpchanman.so.0
+lib/libfreerdpkbd.a
+lib/libfreerdpkbd.la
+lib/libfreerdpkbd.so
+lib/libfreerdpkbd.so.0
+libdata/pkgconfig/freerdp.pc
+%%DATADIR%%/keymaps/aliases
+%%DATADIR%%/keymaps/amiga
+%%DATADIR%%/keymaps/ataritt
+%%DATADIR%%/keymaps/digital_vndr/lk
+%%DATADIR%%/keymaps/digital_vndr/pc
+%%DATADIR%%/keymaps/empty
+%%DATADIR%%/keymaps/evdev
+%%DATADIR%%/keymaps/fujitsu
+%%DATADIR%%/keymaps/hp
+%%DATADIR%%/keymaps/ibm
+%%DATADIR%%/keymaps/macintosh
+%%DATADIR%%/keymaps/sgi_vndr/indigo
+%%DATADIR%%/keymaps/sgi_vndr/indy
+%%DATADIR%%/keymaps/sgi_vndr/iris
+%%DATADIR%%/keymaps/sony
+%%DATADIR%%/keymaps/sun
+%%DATADIR%%/keymaps/xfree86
+%%DATADIR%%/keymaps/xfree98
+@dirrm include/freerdp
+@dirrm lib/freerdp
+@dirrm %%DATADIR%%/keymaps/sgi_vndr
+@dirrm %%DATADIR%%/keymaps/digital_vndr
+@dirrm %%DATADIR%%/keymaps
+@dirrm %%DATADIR%%