mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
0d2bc5a9b3
- Add databases/py-sqlite3 to OPTIONS (caching visited URLs) - Remove files/patch-setup.py - Remove www/py-urlgrabber as run dependency - Turn off WITH_XCLIP option - Use now GNU_CONFIGURE (instead of USE_PYDISTUTILS), and USE_BZIP2
64 lines
1.4 KiB
Makefile
64 lines
1.4 KiB
Makefile
# New ports collection makefile for: clive
|
|
# Date created: 2007-02-11
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= clive
|
|
PORTVERSION= 0.4.7
|
|
#PORTREVISION= 0
|
|
#PORTEPOCH= 0
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Video extraction utility for YouTube and Google Video
|
|
|
|
# deskutils/ljclive (same executable/manpage/distfile name)
|
|
CONFLICTS= clive-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
|
USE_PYTHON= yes
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN1= ${PORTNAME}.1
|
|
.else
|
|
CONFIGURE_ARGS= --with-doc=no
|
|
.endif
|
|
|
|
OPTIONS= FFMPEG "Install ffmpeg for re-encoding" off \
|
|
MPLAYER "Install mplayer as video player" off \
|
|
SQLITE3 "Install sqlite3 for caching visited URLs" off \
|
|
VLC "Install vlc as video player" off \
|
|
XCLIP "Install xclip (read URLs from clipboard)" off
|
|
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_FFMPEG)
|
|
RUN_DEPENDS+= ffmpeg:${PORTSDIR}/multimedia/ffmpeg
|
|
.endif
|
|
|
|
.if defined(WITH_MPLAYER)
|
|
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
.endif
|
|
|
|
.if defined(WITH_SQLITE3)
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.5.2_1:${PORTSDIR}/databases/py-sqlite3
|
|
.endif
|
|
|
|
.if defined(WITH_VLC)
|
|
RUN_DEPENDS+= vlc:${PORTSDIR}/multimedia/vlc
|
|
.endif
|
|
|
|
.if defined(WITH_XCLIP)
|
|
RUN_DEPENDS+= xclip:${PORTSDIR}/x11/xclip
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|