summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-03-30 09:13:11 +0000
committerrh <rh@pkgsrc.org>1999-03-30 09:13:11 +0000
commita4bdf778a83770163d2984c6eb55fe0cd4c98470 (patch)
tree68dddcba33ae0796b161d8d5bb026ca6c3675f73
parent1a23b26e868691cc7cd4b3bc6dba6ab27a0e57e3 (diff)
downloadpkgsrc-a4bdf778a83770163d2984c6eb55fe0cd4c98470.tar.gz
Initial import of cdlabelgen, a tool to generate frontcards and traycards
for CDs
-rw-r--r--graphics/cdlabelgen/Makefile21
-rw-r--r--graphics/cdlabelgen/files/md53
-rw-r--r--graphics/cdlabelgen/patches/patch-aa28
-rw-r--r--graphics/cdlabelgen/patches/patch-ab48
-rw-r--r--graphics/cdlabelgen/pkg/COMMENT1
-rw-r--r--graphics/cdlabelgen/pkg/DESCR20
-rw-r--r--graphics/cdlabelgen/pkg/PLIST11
7 files changed, 132 insertions, 0 deletions
diff --git a/graphics/cdlabelgen/Makefile b/graphics/cdlabelgen/Makefile
new file mode 100644
index 00000000000..04c4a849aa8
--- /dev/null
+++ b/graphics/cdlabelgen/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/30 09:13:11 rh Exp $
+#
+
+DISTNAME= cdlabelgen-1.1.3
+CATEGORIES= graphics
+MASTER_SITES= http://www.red-bean.com/~bwf/software/cdlabelgen/ \
+ ftp://ftp.red-bean.com/pub/bwf/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= utils/disk-management
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.red-bean.com/~bwf/software/cdlabelgen/
+
+DEPENDS+= perl-5.00404:../../lang/perl5
+
+MAKE_ENV+= SED="${SED}" MV="${MV}"
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
+MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/cdlabelgen/files/md5 b/graphics/cdlabelgen/files/md5
new file mode 100644
index 00000000000..e5585b8e5cb
--- /dev/null
+++ b/graphics/cdlabelgen/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/03/30 09:13:12 rh Exp $
+
+MD5 (cdlabelgen-1.1.3.tar.gz) = 2bf1e03d95d0c80ac86c4752289cac3c
diff --git a/graphics/cdlabelgen/patches/patch-aa b/graphics/cdlabelgen/patches/patch-aa
new file mode 100644
index 00000000000..ff347b8ef3b
--- /dev/null
+++ b/graphics/cdlabelgen/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/30 09:13:12 rh Exp $
+
+--- cdlabelgen.orig Thu Mar 25 01:17:34 1999
++++ cdlabelgen Tue Mar 30 10:28:48 1999
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!@PREFIX@/bin/perl -w
+ #
+ # cdlabelgen - a program for making cd jewel box covers and traycards
+ #
+@@ -35,7 +35,7 @@
+
+ # Modify this if you want to store your template somewhere else
+ # Perhaps we can make this part of a conf file in the future?
+-my @where_is_the_template = ('/usr/share/cdlabelgen/',
++my @where_is_the_template = ('@PREFIX@/share/cdlabelgen/',
+ '/usr/local/share/cdlabelgen/',
+ '/usr/local/lib/cdlabelgen/',
+ '/etc/cdlabelgen/',
+@@ -373,7 +373,7 @@
+
+ =head1 EXAMPLES
+
+- ./cdlabelgen -c "My Filesystem" -s "/usr/local/foo" -e postscript/recycle.epsi > foo.ps
++ ./cdlabelgen -c "My Filesystem" -s "/@PREFIX@/foo" -e postscript/recycle.epsi > foo.ps
+
+ ./cdlabelgen -c "title of cd" -s "subtitle" -i "Item 1%and Item 2%a third item here perhaps" -e postscript/recycle.epsi > bar.ps
+
diff --git a/graphics/cdlabelgen/patches/patch-ab b/graphics/cdlabelgen/patches/patch-ab
new file mode 100644
index 00000000000..f141ea0394a
--- /dev/null
+++ b/graphics/cdlabelgen/patches/patch-ab
@@ -0,0 +1,48 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/03/30 09:13:12 rh Exp $
+
+--- Makefile.orig Thu Mar 25 01:17:34 1999
++++ Makefile Tue Mar 30 10:49:43 1999
+@@ -4,23 +4,24 @@
+
+ # Where you want cdlabelgen and related files to be
+
+-BASE_DIR = /usr/local
++BASE_DIR = ${PREFIX}
+ TEMPLATE = ./postscript/template.ps
+ SOURCES = cdlabelgen ChangeLog COPYING INSTALL README Makefile
+ POSTSCRIPT = template.ps recycle.ps recycle.epsi mp3.eps cdda.eps cd.eps penguin.eps
+ DISTFILES = ${SOURCES} ${POSTSCRIPT}
+
+ # just use 'cp -a' if you don't have install...
+-INSTALL := install -m 0755 -p
+-INSTALL_FILE := install -m 0644 -p
+
+ all: cdlabelgen
++ ${SED} s=@PREFIX@=${PREFIX}=g <cdlabelgen >cdlabelgen.new
++ ${MV} cdlabelgen.new cdlabelgen
++ ${PREFIX}/bin/perldoc cdlabelgen >cdlabelgen.0
+
+ ###
+ install:
+ @echo "Installing cdlabelgen under ${BASE_DIR}"
+ @echo ""
+- $(INSTALL) cdlabelgen ${BASE_DIR}/bin
++ ${INSTALL_SCRIPT} cdlabelgen ${PREFIX}/bin
+ @if [ ! -d ${BASE_DIR}/share/cdlabelgen ]; then \
+ mkdir ${BASE_DIR}/share/cdlabelgen; \
+ chmod 755 ${BASE_DIR}/share/cdlabelgen; \
+@@ -28,11 +29,12 @@
+ echo "${BASE_DIR}/share/cdlabelgen already exists, not creating"; \
+ echo ""; \
+ fi
+- $(INSTALL_FILE) ${TEMPLATE} ${BASE_DIR}/share/cdlabelgen
++ ${INSTALL_DATA} ${TEMPLATE} ${BASE_DIR}/share/cdlabelgen
+ set -e; \
+ for file in $(POSTSCRIPT); do \
+- $(INSTALL_FILE) postscript/$$file ${BASE_DIR}/share/cdlabelgen/; \
++ ${INSTALL_DATA} postscript/$$file ${BASE_DIR}/share/cdlabelgen/; \
+ done
++ ${INSTALL_MAN} cdlabelgen.0 ${PREFIX}/man/cat1
+
+ dist:
+ rm -rf cdlabelgen-${VERSION}
diff --git a/graphics/cdlabelgen/pkg/COMMENT b/graphics/cdlabelgen/pkg/COMMENT
new file mode 100644
index 00000000000..7a842ea8484
--- /dev/null
+++ b/graphics/cdlabelgen/pkg/COMMENT
@@ -0,0 +1 @@
+generate frontcards and traycards for CDs
diff --git a/graphics/cdlabelgen/pkg/DESCR b/graphics/cdlabelgen/pkg/DESCR
new file mode 100644
index 00000000000..02c829ed884
--- /dev/null
+++ b/graphics/cdlabelgen/pkg/DESCR
@@ -0,0 +1,20 @@
+ cdlabelgen is a program for generating frontcards and traycards for
+CDs. cdlabelgen was designed to simplify the process of generating
+labels for CD's. It originated as a program to allow auto generation
+of frontcards and traycards for CD's burned via an automated mechanism
+(specifically for archiving data), but has now become popular for
+labelling CD compilations, and copies of CDs.
+
+ Note that cdlabelgen does not actually print anything -- it just
+spits out postscript, which you can then do with as you please.
+
+ cdlabelgen's purpose in life is twofold:
+
+ 1.) To be run automatically and swiftly from a shell script
+ and automatically generate a frontcard and a traycard for
+ a cd--usually data archive cd's. The traycard (which goes
+ behind the CD itself) is U-shaped and the ends of the CD
+ case bear the label of what the CD is.
+
+ 2.) To have a minimum of dependencies -- cdlabelgen only
+ requires perl.
diff --git a/graphics/cdlabelgen/pkg/PLIST b/graphics/cdlabelgen/pkg/PLIST
new file mode 100644
index 00000000000..7bc61969c1e
--- /dev/null
+++ b/graphics/cdlabelgen/pkg/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/03/30 09:13:12 rh Exp $
+bin/cdlabelgen
+man/cat1/cdlabelgen.0
+share/cdlabelgen/template.ps
+share/cdlabelgen/recycle.ps
+share/cdlabelgen/recycle.epsi
+share/cdlabelgen/mp3.eps
+share/cdlabelgen/cdda.eps
+share/cdlabelgen/cd.eps
+share/cdlabelgen/penguin.eps
+@dirrm share/cdlabelgen