Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2003 21:42:12 +0300 (EEST)
From:      Juha Erkkila <erkkila@cc.jyu.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erkkila@cc.jyu.fi
Subject:   ports/56755: update for the port print/cdlabelgen
Message-ID:  <200309131842.h8DIgCc7006676@a.o.t>
Resent-Message-ID: <200309131850.h8DIoI87085892@freefall.freebsd.org>

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

>Number:         56755
>Category:       ports
>Synopsis:       update for the port print/cdlabelgen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 13 11:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juha Erkkila
>Release:        FreeBSD 5.1-RELEASE-p2 i386
>Organization:
no
>Environment:
System: FreeBSD a.o.t 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Mon Aug 11 11:07:06 EEST 2003 je@a.o.t:/usr/obj/usr/src/sys/A.O.T i386

the port print/cdlabelgen appears to be quite out of date.  there's a specific
reason to update too:  the old version doesn't handle eps-files quite as
gracefully as the latest one (the included eps-files work, but my "homemade"
ones didn't).  the new version resolves this.  it also has a handful of more
features

i tried to contact the current maintainer, but received no answer within
three weeks


diff -ruN /usr/ports/print/cdlabelgen/Makefile cdlabelgen/Makefile
--- /usr/ports/print/cdlabelgen/Makefile	Thu Jun  5 12:42:23 2003
+++ cdlabelgen/Makefile	Sat Sep  6 21:11:36 2003
@@ -6,15 +6,23 @@
 #
 
 PORTNAME=	cdlabelgen
-PORTVERSION=	1.5.0
-CATEGORIES=	print
-MASTER_SITES=	http://www.red-bean.com/fitz/software/cdlabelgen/
+PORTVERSION=	2.6.1
+CATEGORIES=	print perl5
+MASTER_SITES=	http://www.aczone.com/pub/tools/
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	nox@jelal.kn-bremen.de
 COMMENT=	Generate postscript for frontcards and traycards for CDs
 
+MAN1=		cdlabelgen.1
+MANCOMPRESSED=	no
+
 USE_PERL5=	yes
-MAKE_ENV=	BASE_DIR=${PREFIX}
+MAKE_ENV=	BASE_DIR="${PREFIX}" \
+		INSTALL="${INSTALL_SCRIPT}" \
+		INSTALL_DIR="${MKDIR}" \
+		INSTALL_FILE="${INSTALL_DATA}" \
+		INSTALL_MAN="${INSTALL_MAN}"
 
 do-build:
 	${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKSRC}/cdlabelgen
diff -ruN /usr/ports/print/cdlabelgen/distinfo cdlabelgen/distinfo
--- /usr/ports/print/cdlabelgen/distinfo	Sat Aug 14 11:03:56 1999
+++ cdlabelgen/distinfo	Sat Sep 13 21:37:03 2003
@@ -1 +1 @@
-MD5 (cdlabelgen-1.5.0.tar.gz) = 3ed7968301825d658d470de5f00812aa
+MD5 (cdlabelgen-2.6.1.tgz) = d8877d0f0da1e1226cc658358ab5b77d
diff -ruN /usr/ports/print/cdlabelgen/files/patch-aa cdlabelgen/files/patch-aa
--- /usr/ports/print/cdlabelgen/files/patch-aa	Thu Aug 26 00:12:56 1999
+++ cdlabelgen/files/patch-aa	Thu Aug 21 20:57:01 2003
@@ -1,19 +1,34 @@
---- Makefile.orig	Wed Aug 25 14:09:47 1999
-+++ Makefile	Wed Aug 25 14:10:01 1999
-@@ -4,7 +4,7 @@
- 
- # Where you want cdlabelgen and related files to be
+--- Makefile	Thu Aug 21 20:53:19 2003
++++ Makefile	Thu Aug 21 20:56:07 2003
+@@ -8,21 +8,15 @@
+ # Change these to locations you need, also
+ # remember to edit cdlabelgen and its @where_is_the_template as needed.
  
 -BASE_DIR   = /usr/local
-+#BASE_DIR   = /usr/local
- TEMPLATE   = ./postscript/template.ps
- SOURCES    = cdlabelgen ChangeLog COPYING INSTALL README Makefile
- POSTSCRIPT = template.ps recycle.ps recycle.epsi mp3.eps cdda.eps     \
-@@ -25,7 +25,6 @@
- 	$(INSTALL_DIR) $(BASE_DIR)/bin
- 	$(INSTALL) cdlabelgen $(BASE_DIR)/bin
- 	$(INSTALL_DIR) $(BASE_DIR)/share/cdlabelgen
--	$(INSTALL_FILE) $(TEMPLATE) $(BASE_DIR)/share/cdlabelgen
+ # BASE_DIR   = /usr/local
+ # BASE_DIR   = /opt
+ BIN_DIR   = $(BASE_DIR)/bin
+-LIB_DIR   = $(BASE_DIR)/lib/cdlabelgen
++LIB_DIR   = $(BASE_DIR)/share/cdlabelgen
+ MAN_DIR   = $(BASE_DIR)/man
+ SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html spec.template
+ POSTSCRIPT = template.ps *.eps
+ DISTFILES = $(SOURCES) $(POSTSCRIPT)
+ 
+-# just use 'cp -a' if you don't have install...
+-INSTALL		:= install -m 0755
+-INSTALL_DIR	:= install -d -m 0755
+-INSTALL_FILE	:= install -m 0644
+-
+ # Makefile macros....
+ #1.  $@ is the name of the file to be made.
+ #2.  $? is the names of the changed dependents. 
+@@ -45,7 +39,7 @@
+ 	@echo ""
+ 	$(INSTALL_DIR) $(BIN_DIR)
+ 	$(INSTALL) cdlabelgen $(BIN_DIR)
+-	$(INSTALL) cdlabelgen.1 $(MAN_DIR)/man1
++	$(INSTALL_MAN) cdlabelgen.1 $(MAN_DIR)/man1
+ 	$(INSTALL_DIR) $(LIB_DIR)
  	set -e; \
  	for file in $(POSTSCRIPT); do \
- 		$(INSTALL_FILE) postscript/$$file $(BASE_DIR)/share/cdlabelgen/; \
diff -ruN /usr/ports/print/cdlabelgen/pkg-descr cdlabelgen/pkg-descr
--- /usr/ports/print/cdlabelgen/pkg-descr	Thu Jun  5 12:42:23 2003
+++ cdlabelgen/pkg-descr	Thu Aug 21 21:33:15 2003
@@ -18,6 +18,6 @@
        cdlabelgen does not actually print anything--it just spits
        out postscript, which you can then do with as you please.
 
-(from the manual, type `perldoc cdlabelgen' to get the full one)
+(from the manual, see cdlabelgen(1) for the full one)
 
-WWW: http://www.red-bean.com/fitz/software-cdlabelgen.shtml
+WWW: http://www.aczone.com/tools/cdinsert/
diff -ruN /usr/ports/print/cdlabelgen/pkg-plist cdlabelgen/pkg-plist
--- /usr/ports/print/cdlabelgen/pkg-plist	Sat Aug 14 11:03:57 1999
+++ cdlabelgen/pkg-plist	Thu Aug 21 20:59:17 2003
@@ -1,11 +1,14 @@
 bin/cdlabelgen
 share/cdlabelgen/cd.eps
 share/cdlabelgen/cdda.eps
-share/cdlabelgen/debian-bw.eps
 share/cdlabelgen/debian-color.eps
+share/cdlabelgen/divx.eps
 share/cdlabelgen/mp3.eps
+share/cdlabelgen/music1.eps
+share/cdlabelgen/music2.eps
+share/cdlabelgen/ogg.eps
 share/cdlabelgen/penguin.eps
-share/cdlabelgen/recycle.epsi
-share/cdlabelgen/recycle.ps
+share/cdlabelgen/recycle.eps
 share/cdlabelgen/template.ps
+share/cdlabelgen/winamp.eps
 @dirrm share/cdlabelgen
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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