diff --git a/multimedia/Makefile b/multimedia/Makefile index 15e6af941bd0..a094ebb50941 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -17,6 +17,7 @@ SUBDIR += bsdbktr_tvtune SUBDIR += camserv SUBDIR += castpodder + SUBDIR += cclive SUBDIR += cheese SUBDIR += clive SUBDIR += clive1 diff --git a/multimedia/cclive/Makefile b/multimedia/cclive/Makefile new file mode 100644 index 000000000000..1e3ab2f1e468 --- /dev/null +++ b/multimedia/cclive/Makefile @@ -0,0 +1,30 @@ +# Ports collection makefile for: cclive +# Date created: 1 February 2009 +# Whom: Toni Gundogdu +# +# $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 diff --git a/multimedia/cclive/distinfo b/multimedia/cclive/distinfo new file mode 100644 index 000000000000..07d70427a9c1 --- /dev/null +++ b/multimedia/cclive/distinfo @@ -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 diff --git a/multimedia/cclive/files/patch-Makefile b/multimedia/cclive/files/patch-Makefile new file mode 100644 index 000000000000..148b65ad84a7 --- /dev/null +++ b/multimedia/cclive/files/patch-Makefile @@ -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 diff --git a/multimedia/cclive/pkg-descr b/multimedia/cclive/pkg-descr new file mode 100644 index 000000000000..be51e99b8815 --- /dev/null +++ b/multimedia/cclive/pkg-descr @@ -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/