summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/cdlabelgen/Makefile27
-rw-r--r--print/cdlabelgen/files/md53
-rw-r--r--print/cdlabelgen/patches/patch-aa23
-rw-r--r--print/cdlabelgen/pkg/COMMENT1
-rw-r--r--print/cdlabelgen/pkg/DESCR9
-rw-r--r--print/cdlabelgen/pkg/PLIST10
6 files changed, 73 insertions, 0 deletions
diff --git a/print/cdlabelgen/Makefile b/print/cdlabelgen/Makefile
new file mode 100644
index 00000000000..54ef0ca887d
--- /dev/null
+++ b/print/cdlabelgen/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/15 07:54:27 hubertf Exp $
+#
+
+DISTNAME= cdlabelgen-1.1.3
+CATEGORIES= print
+MASTER_SITES= http://www.red-bean.com/~bwf/software/cdlabelgen/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.red-bean.com/~bwf/software/cdlabelgen/
+
+USE_PERL5= YES
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+post-extract:
+ cd ${WRKSRC}; \
+ ${MV} cdlabelgen cdlabelgen.BAK; \
+ ${SED} \
+ -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \
+ -e 's|/usr/local|${PREFIX}|g' \
+ <cdlabelgen.BAK >cdlabelgen
+
+post-install:
+ ${LOCALBASE}/bin/pod2man ${PREFIX}/bin/cdlabelgen \
+ >${PREFIX}/man/man1/cdlabelgen.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/cdlabelgen/files/md5 b/print/cdlabelgen/files/md5
new file mode 100644
index 00000000000..399460b44e3
--- /dev/null
+++ b/print/cdlabelgen/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/15 07:54:28 hubertf Exp $
+
+MD5 (cdlabelgen-1.1.3.tar.gz) = 2bf1e03d95d0c80ac86c4752289cac3c
diff --git a/print/cdlabelgen/patches/patch-aa b/print/cdlabelgen/patches/patch-aa
new file mode 100644
index 00000000000..e299863e95b
--- /dev/null
+++ b/print/cdlabelgen/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/05/15 07:54:28 hubertf Exp $
+
+--- Makefile.orig Sat May 15 09:36:55 1999
++++ Makefile Sat May 15 09:38:15 1999
+@@ -4,15 +4,15 @@
+
+ # 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
++INSTALL := ${BSD_INSTALL_SCRIPT}
++INSTALL_FILE := ${BSD_INSTALL_DATA}
+
+ all: cdlabelgen
+
diff --git a/print/cdlabelgen/pkg/COMMENT b/print/cdlabelgen/pkg/COMMENT
new file mode 100644
index 00000000000..d11768d7669
--- /dev/null
+++ b/print/cdlabelgen/pkg/COMMENT
@@ -0,0 +1 @@
+Generates frontcards and traycards for CDs.
diff --git a/print/cdlabelgen/pkg/DESCR b/print/cdlabelgen/pkg/DESCR
new file mode 100644
index 00000000000..6845786cf22
--- /dev/null
+++ b/print/cdlabelgen/pkg/DESCR
@@ -0,0 +1,9 @@
+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 of mp3's, 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.
diff --git a/print/cdlabelgen/pkg/PLIST b/print/cdlabelgen/pkg/PLIST
new file mode 100644
index 00000000000..0693d669424
--- /dev/null
+++ b/print/cdlabelgen/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/15 07:54:27 hubertf Exp $
+bin/cdlabelgen
+man/man1/cdlabelgen.1
+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