View | Details | Raw Unified | Return to bug 133132
Collapse All | Expand All

(-)cclive/Makefile (-7 / +4 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	cclive
8
PORTNAME=	cclive
9
PORTVERSION=	0.2.6
9
PORTVERSION=	0.3.0
10
CATEGORIES=	multimedia net
10
CATEGORIES=	multimedia net
11
MASTER_SITES=	GOOGLE_CODE
11
MASTER_SITES=	GOOGLE_CODE
12
12
Lines 18-44 Link Here
18
OPTIONS=	TITLE 	 "Enable video title parsing (req. Perl)" off \
18
OPTIONS=	TITLE 	 "Enable video title parsing (req. Perl)" off \
19
		SIGWINCH "Enable SIGWINCH handling; resize progressbar" on
19
		SIGWINCH "Enable SIGWINCH handling; resize progressbar" on
20
20
21
MAKE_ENV=	V=1
22
MAN1=		cclive.1
21
MAN1=		cclive.1
23
22
24
PLIST_FILES=	bin/cclive
23
PLIST_FILES=	bin/cclive
25
24
26
USE_BZIP2=	yes
25
USE_BZIP2=	yes
27
USE_GMAKE=	yes
26
GNU_CONFIGURE=	yes
28
MAKE_JOBS_SAFE=	yes
27
MAKE_JOBS_SAFE=	yes
29
28
30
.include <bsd.port.pre.mk>
29
.include <bsd.port.pre.mk>
31
30
32
MAKE_ENV+=	WITH_MAN=yes
33
34
.if defined(WITH_TITLE)
31
.if defined(WITH_TITLE)
35
MAKE_ENV+=	WITH_PERL=yes
32
CONFIGURE_ARGS+=--with-perl
36
USE_PERL5=	5.8.2+
33
USE_PERL5=	5.8.2+
37
RUN_DEPENDS+=	p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser
34
RUN_DEPENDS+=	p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser
38
.endif
35
.endif
39
36
40
.if defined(WITH_SIGWINCH)
37
.if defined(WITH_SIGWINCH)
41
MAKE_ENV+=	WITH_SIGWINCH=yes
38
CONFIGURE_ARGS+=	--with-sigwinch
42
.endif
39
.endif
43
40
44
.include <bsd.port.post.mk>
41
.include <bsd.port.post.mk>
(-)cclive/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cclive-0.2.6.tar.bz2) = 2f596966021df4fd15e0616854ebbdc6
1
MD5 (cclive-0.3.0.tar.bz2) = dfa72b7f8be7116fbd83cc7a60926eb9
2
SHA256 (cclive-0.2.6.tar.bz2) = f1ad40c9b6dcfea9732a24b5db94d5820a5c4c2f7680c98cd7e992f5ddf7fc7c
2
SHA256 (cclive-0.3.0.tar.bz2) = 886d6efffeee5318a70b11dbe8248702ac025d008f0ff16c12c63dcc80911ff7
3
SIZE (cclive-0.2.6.tar.bz2) = 41770
3
SIZE (cclive-0.3.0.tar.bz2) = 120446
(-)cclive/files/patch-Makefile (-54 lines)
Lines 1-54 Link Here
1
--- Makefile.orig	2009-03-10 01:13:54.000000000 +0200
2
+++ Makefile	2009-03-10 01:15:18.000000000 +0200
3
@@ -1,23 +1,20 @@
4
 # GNU Makefile for cclive.
5
 
6
-SHELL = /bin/sh
7
-
8
 .SUFFIXES:
9
 .SUFFIXES: .c .o
10
 
11
-prefix      = $(HOME)
12
+prefix      = $(PREFIX)
13
 bindir      = $(prefix)/bin
14
 exec_prefix = $(prefix)
15
 datarootdir = $(prefix)/share
16
 datadir     = $(datarootdir)
17
-mandir      = $(datarootdir)/man
18
+mandir      = $(MANPREFIX)/man
19
 man1dir     = $(mandir)/man1
20
 
21
-CC          = cc
22
 RM          = rm -f
23
-INSTALL     = install -c
24
-INSTALL_D   = install -d
25
-INSTALL_M   = install
26
+INSTALL     = $(BSD_INSTALL_PROGRAM)
27
+INSTALL_D   = mkdir -p
28
+INSTALL_M   = $(BSD_INSTALL_MAN)
29
 UNAME       = uname
30
 AWK         = awk
31
 CURL_CONFIG = curl-config
32
@@ -25,10 +22,6 @@
33
 POD2MAN     = pod2man
34
 PERL        = perl
35
 
36
-WITH_MAN        = yes
37
-WITH_SIGWINCH   = yes
38
-WITH_PERL       = no
39
-
40
 ifndef V
41
 QUIET_CC        = @echo '  ' CC $@;
42
 QUIET_LINK      = @echo '  ' LINK $@;
43
@@ -42,11 +35,9 @@
44
 CURL_CFLAGS  := $(shell sh -c "$(CURL_CONFIG) --cflags")
45
 CURL_LDFLAGS := $(shell sh -c "$(CURL_CONFIG) --libs")
46
 
47
-CFLAGS      = -g -Wall
48
 ALL_CFLAGS  = -D_GNU_SOURCE -DOSNAME=\"$(OS_NAME)\" -I. $(CFLAGS)
49
 ALL_CFLAGS += $(CURL_CFLAGS)
50
 
51
-LDFLAGS     =
52
 ALL_LDFLAGS = $(LDFLAGS)
53
 ALL_LDFLAGS += $(CURL_LDFLAGS)
54

Return to bug 133132