aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-04 01:23:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-04 01:23:15 +0800
commitaab0865a1be4c9932e4aff426bf35a31fbaebacd (patch)
tree5ef615095a59cdc9c1a05778fdccbce22ea4f157 /deskutils
parent96f8690f6a68bece50f8b1fb6088944e3de95677 (diff)
downloadfreebsd-ports-gnome-aab0865a1be4c9932e4aff426bf35a31fbaebacd.tar.gz
freebsd-ports-gnome-aab0865a1be4c9932e4aff426bf35a31fbaebacd.tar.zst
freebsd-ports-gnome-aab0865a1be4c9932e4aff426bf35a31fbaebacd.zip
- Convert to OPTIONS
- Strip library
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>