aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/vnc2flv/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/deskutils/vnc2flv/Makefile b/deskutils/vnc2flv/Makefile
index 333917f2b8e9..788c18408fd9 100644
--- a/deskutils/vnc2flv/Makefile
+++ b/deskutils/vnc2flv/Makefile
@@ -2,7 +2,7 @@
PORTNAME= vnc2flv
PORTVERSION= 20100207
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils multimedia www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,14 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Captures a VNC desktop session and saves as a flv
-.if empty(PORT_OPTIONS:MX11)
-RUN_DEPENDS+= x11vnc:${PORTSDIR}/net/x11vnc
-.endif
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= python
USE_PYTHON= distutils autoplist
+OPTIONS_DEFINE= X11
+X11_RUN_DEPENDS=x11vnc:${PORTSDIR}/net/x11vnc
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/flvscreen.so
+
.include <bsd.port.mk>