mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Convert to OPTIONS
- Strip library
This commit is contained in:
parent
b23eb33111
commit
962b668b06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388451
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user