Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2013 01:09:20 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175117: [PATCH] update comms/ebook2cw to 0.8.2
Message-ID:  <201301080109.r0819KfV045196@red.freebsd.org>
Resent-Message-ID: <201301080110.r081A04u040804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175117
>Category:       ports
>Synopsis:       [PATCH] update comms/ebook2cw to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 08 01:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Update to 0.8.2
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: ebook2cw/Makefile
===================================================================
--- ebook2cw/Makefile	(revision 310056)
+++ ebook2cw/Makefile	(working copy)
@@ -1,13 +1,8 @@
-# ports collection makefile for:	ebook2cw
-# Date created:		17 July 2008
-# Whom:			db
-#
+# Created by: db
 # $FreeBSD$
-#
 
 PORTNAME=	ebook2cw
-PORTVERSION=	0.8.1
-PORTREVISION?=	2
+PORTVERSION=	0.8.2
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://fkurz.net/ham/ebook2cw/ \
 		${MASTER_SITE_LOCAL}
Index: ebook2cw/distinfo
===================================================================
--- ebook2cw/distinfo	(revision 310056)
+++ ebook2cw/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (ebook2cw-0.8.1.tar.gz) = 3f97d2e6fbb419f8c985b0cbe3a9d33bfaa8fd746ea3651ecf086e523395c908
-SIZE (ebook2cw-0.8.1.tar.gz) = 26581
+SHA256 (ebook2cw-0.8.2.tar.gz) = d8277ac6aaf9e64d9cb9a96457488b3a0dbd77e87622ded8f0825acb500c5758
+SIZE (ebook2cw-0.8.2.tar.gz) = 29170
Index: ebook2cw/files/patch-Makefile
===================================================================
--- ebook2cw/files/patch-Makefile	(revision 310056)
+++ ebook2cw/files/patch-Makefile	(working copy)
@@ -1,18 +1,20 @@
---- Makefile.orig	2011-04-04 15:57:55.000000000 -0400
-+++ Makefile	2011-04-16 11:11:52.000000000 -0400
-@@ -1,34 +1,26 @@
- # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html
+--- Makefile.bak	2013-01-07 22:55:06.000000000 -0600
++++ Makefile	2013-01-07 22:58:08.000000000 -0600
+@@ -3,37 +3,26 @@
+ # $Id: Makefile 547 2012-12-29 21:07:53Z dj1yfk $
  
- VERSION=0.8.1
+ VERSION=0.8.2
 -DESTDIR ?= /usr
-+DESTDIR ?= /usr/local
-+CC	?= gcc
- 
+-
 -# Set to NO to compile without Lame/Ogg-vorbis support
 -USE_LAME?=YES
 -USE_OGG?=YES
++DESTDIR ?= /usr/local
++CC	?= gcc
  
  CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\"
++CFLAGS+= -I/usr/local/include -D LAME -D OGGV
++LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg
  
 -ifeq ($(USE_LAME), YES)
 -		CFLAGS:=$(CFLAGS) -D LAME
@@ -22,10 +24,8 @@
 -		CFLAGS:=$(CFLAGS) -D OGGV
 -		LDFLAGS:=$(LDFLAGS) -lvorbis -lvorbisenc -logg
 -endif
-+CFLAGS+= -I/usr/local/include -D LAME -D OGGV
-+LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg
- 
- 
+-
+-
 -all: ebook2cw
 +all: ebook2cw cgi
  
@@ -37,18 +37,13 @@
 -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
 +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
  
+ cgibuffered: ebook2cw.c codetables.h
+-	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
++	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
+ 
  static:
 -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
 +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
  
  install:
  	install -d -v                      $(DESTDIR)/share/man/man1/
-@@ -41,7 +33,7 @@
- 	install    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
- 	install    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
- 	install    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
--	
-+
- uninstall:
- 	rm -f $(DESTDIR)/bin/ebook2cw
- 	rm -f $(DESTDIR)/share/man/man1/ebook2cw.1


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301080109.r0819KfV045196>