1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

cclive is a command line video extraction utility similar to clive but

focused on low requirements. Its features are few and essential. cclive
supports Youtube, GoogleVideo, Break, Liveleak, Sevenload, EvisorTV and
Dailymotion.

WWW: http://code.google.com/p/cclive/

PR:		ports/131269
Submitted by:	Toni Gundogdu <legatvs at gmail.com>
This commit is contained in:
Nicola Vitale 2009-02-09 17:21:25 +00:00
parent e9f0e48a52
commit 507f7bebca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227922
5 changed files with 92 additions and 0 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += bsdbktr_tvtune
SUBDIR += camserv
SUBDIR += castpodder
SUBDIR += cclive
SUBDIR += cheese
SUBDIR += clive
SUBDIR += clive1

View File

@ -0,0 +1,30 @@
# Ports collection makefile for: cclive
# Date created: 1 February 2009
# Whom: Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#
PORTNAME= cclive
PORTVERSION= 0.2.1
CATEGORIES= multimedia net
MASTER_SITES= GOOGLE_CODE
MAINTAINER= legatvs@gmail.com
COMMENT= Lightweight command line video extraction utility
LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl
.if !defined(NO_INSTALL_MANPAGES)
MAKE_ENV= WITH_MAN=yes
MAN1= cclive.1
.endif
MAKE_ENV+= V=1
PLIST_FILES= bin/cclive
USE_BZIP2= yes
USE_GMAKE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (cclive-0.2.1.tar.bz2) = 7aeee2bac2b20c725eebbe5d42920f4b
SHA256 (cclive-0.2.1.tar.bz2) = 93364812c766814df17a8e50cb7b5f81671a36f75dc8e181313213873f7b5e5e
SIZE (cclive-0.2.1.tar.bz2) = 36764

View File

@ -0,0 +1,52 @@
--- Makefile.orig 2009-02-07 00:40:50.864414331 +0000
+++ Makefile 2009-02-07 01:23:32.655384692 +0000
@@ -1,31 +1,26 @@
# GNU Makefile for cclive.
-SHELL = /bin/sh
-
.SUFFIXES:
.SUFFIXES: .c .o
-prefix = $(HOME)
+prefix = $(PREFIX)
bindir = $(prefix)/bin
exec_prefix = $(prefix)
datarootdir = $(prefix)/share
datadir = $(datarootdir)
-mandir = $(datarootdir)/man
+mandir = $(MANPREFIX)/man
man1dir = $(mandir)/man1
-CC = cc
RM = rm -f
-INSTALL = install -c
-INSTALL_D = install -d
-INSTALL_M = install
+INSTALL = $(BSD_INSTALL_PROGRAM)
+INSTALL_D = mkdir -p
+INSTALL_M = $(BSD_INSTALL_MAN)
UNAME = uname
AWK = awk
CURL_CONFIG = curl-config
GENGETOPT = gengetopt
POD2MAN = pod2man
-WITH_MAN = yes
-
ifndef V
QUIET_CC = @echo ' ' CC $@;
QUIET_LINK = @echo ' ' LINK $@;
@@ -39,11 +34,9 @@
CURL_CFLAGS := $(shell sh -c "$(CURL_CONFIG) --cflags")
CURL_LDFLAGS := $(shell sh -c "$(CURL_CONFIG) --libs")
-CFLAGS = -g -Wall
ALL_CFLAGS = -D_GNU_SOURCE -DOSNAME=\"$(OS_NAME)\" -I. $(CFLAGS)
ALL_CFLAGS += $(CURL_CFLAGS)
-LDFLAGS =
ALL_LDFLAGS = $(LDFLAGS)
ALL_LDFLAGS += $(CURL_LDFLAGS)
a7e

View File

@ -0,0 +1,6 @@
cclive is a command line video extraction utility similar to clive but
focused on low requirements. Its features are few and essential. cclive
supports Youtube, GoogleVideo, Break, Liveleak, Sevenload, EvisorTV and
Dailymotion.
WWW: http://code.google.com/p/cclive/