aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xpra/Makefile
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-02-03 10:57:45 +0800
committerswills <swills@FreeBSD.org>2011-02-03 10:57:45 +0800
commit7ee3c5236ed04321f6c881b60801791d371d6f32 (patch)
tree979f5215456093ecd35cae27b3f453363479add3 /x11/xpra/Makefile
parent9dc7c6ffd50779c565d8ab90c3726b068baf2d1f (diff)
downloadfreebsd-ports-gnome-7ee3c5236ed04321f6c881b60801791d371d6f32.tar.gz
freebsd-ports-gnome-7ee3c5236ed04321f6c881b60801791d371d6f32.tar.zst
freebsd-ports-gnome-7ee3c5236ed04321f6c881b60801791d371d6f32.zip
Add Xpra, which gives you persistent remote applications for X. So basically
it's screen for remote X apps. Approved by: wxs (mentor) Feature safe: yes
Diffstat (limited to 'x11/xpra/Makefile')
-rw-r--r--x11/xpra/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile
new file mode 100644
index 000000000000..714b477a73ab
--- /dev/null
+++ b/x11/xpra/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: xpra
+# Date created: 2011-01-11
+# Whom: Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xpra
+PORTVERSION= 0.0.7.16p4
+CATEGORIES= x11
+MASTER_SITES= http://winswitch.org/src/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S!p!-!}
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Xpra gives you persistent remote applications for X
+
+BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython \
+ ipython:${PORTSDIR}/devel/ipython \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
+RUN_DEPENDS= cython:${PORTSDIR}/lang/cython \
+ ipython:${PORTSDIR}/devel/ipython \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
+
+MAN1= ${PORTNAME}.1
+PORTDOCS= README.wimpiggy README.xpra
+USE_BZIP2= yes
+USE_PYTHON= yes
+USE_XORG= x11 xext xtst xfixes xcomposite xdamage
+
+do-build:
+ ( cd ${WRKSRC} ; ./do-build )
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/install/bin/xpra ${PREFIX}/bin
+ ${RM} -rf ${WRKSRC}/install/lib/python/xpra/win32
+ ${RM} -rf ${WRKSRC}/install/lib/python/xpra/darwin
+ (cd ${WRKSRC}/install/lib/python/xpra && ${COPYTREE_SHARE} \* ${PYTHON_SITELIBDIR}/xpra )
+ (cd ${WRKSRC}/install/lib/python/wimpiggy && ${COPYTREE_SHARE} \* ${PYTHON_SITELIBDIR}/wimpiggy )
+ ${INSTALL_MAN} ${WRKSRC}/install/share/man/man1/${PORTNAME}.1 ${MANPREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.wimpiggy ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.xpra ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>