head	1.13;
access;
symbols
	pkgsrc-2026Q1:1.13.0.70
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.13.0.68
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.66
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.13.0.64
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.13.0.62
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.13.0.60
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.13.0.58
	pkgsrc-2024Q3-base:1.13
	pkgsrc-2024Q2:1.13.0.56
	pkgsrc-2024Q2-base:1.13
	pkgsrc-2024Q1:1.13.0.54
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.52
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.50
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.13.0.48
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.13.0.46
	pkgsrc-2023Q1-base:1.13
	pkgsrc-2022Q4:1.13.0.44
	pkgsrc-2022Q4-base:1.13
	pkgsrc-2022Q3:1.13.0.42
	pkgsrc-2022Q3-base:1.13
	pkgsrc-2022Q2:1.13.0.40
	pkgsrc-2022Q2-base:1.13
	pkgsrc-2022Q1:1.13.0.38
	pkgsrc-2022Q1-base:1.13
	pkgsrc-2021Q4:1.13.0.36
	pkgsrc-2021Q4-base:1.13
	pkgsrc-2021Q3:1.13.0.34
	pkgsrc-2021Q3-base:1.13
	pkgsrc-2021Q2:1.13.0.32
	pkgsrc-2021Q2-base:1.13
	pkgsrc-2021Q1:1.13.0.30
	pkgsrc-2021Q1-base:1.13
	pkgsrc-2020Q4:1.13.0.28
	pkgsrc-2020Q4-base:1.13
	pkgsrc-2020Q3:1.13.0.26
	pkgsrc-2020Q3-base:1.13
	pkgsrc-2020Q2:1.13.0.22
	pkgsrc-2020Q2-base:1.13
	pkgsrc-2020Q1:1.13.0.2
	pkgsrc-2020Q1-base:1.13
	pkgsrc-2019Q4:1.13.0.24
	pkgsrc-2019Q4-base:1.13
	pkgsrc-2019Q3:1.13.0.20
	pkgsrc-2019Q3-base:1.13
	pkgsrc-2019Q2:1.13.0.18
	pkgsrc-2019Q2-base:1.13
	pkgsrc-2019Q1:1.13.0.16
	pkgsrc-2019Q1-base:1.13
	pkgsrc-2018Q4:1.13.0.14
	pkgsrc-2018Q4-base:1.13
	pkgsrc-2018Q3:1.13.0.12
	pkgsrc-2018Q3-base:1.13
	pkgsrc-2018Q2:1.13.0.10
	pkgsrc-2018Q2-base:1.13
	pkgsrc-2018Q1:1.13.0.8
	pkgsrc-2018Q1-base:1.13
	pkgsrc-2017Q4:1.13.0.6
	pkgsrc-2017Q4-base:1.13
	pkgsrc-2017Q3:1.13.0.4
	pkgsrc-2017Q3-base:1.13
	pkgsrc-2017Q2:1.12.0.20
	pkgsrc-2017Q2-base:1.12
	pkgsrc-2017Q1:1.12.0.18
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.12.0.16
	pkgsrc-2016Q4-base:1.12
	pkgsrc-2016Q3:1.12.0.14
	pkgsrc-2016Q3-base:1.12
	pkgsrc-2016Q2:1.12.0.12
	pkgsrc-2016Q2-base:1.12
	pkgsrc-2016Q1:1.12.0.10
	pkgsrc-2016Q1-base:1.12
	pkgsrc-2015Q4:1.12.0.8
	pkgsrc-2015Q4-base:1.12
	pkgsrc-2015Q3:1.12.0.6
	pkgsrc-2015Q3-base:1.12
	pkgsrc-2015Q2:1.12.0.4
	pkgsrc-2015Q2-base:1.12
	pkgsrc-2015Q1:1.12.0.2
	pkgsrc-2015Q1-base:1.12
	pkgsrc-2014Q4:1.11.0.16
	pkgsrc-2014Q4-base:1.11
	pkgsrc-2014Q3:1.11.0.14
	pkgsrc-2014Q3-base:1.11
	pkgsrc-2014Q2:1.11.0.12
	pkgsrc-2014Q2-base:1.11
	pkgsrc-2014Q1:1.11.0.10
	pkgsrc-2014Q1-base:1.11
	pkgsrc-2013Q4:1.11.0.8
	pkgsrc-2013Q4-base:1.11
	pkgsrc-2013Q3:1.11.0.6
	pkgsrc-2013Q3-base:1.11
	pkgsrc-2013Q2:1.11.0.4
	pkgsrc-2013Q2-base:1.11
	pkgsrc-2013Q1:1.11.0.2
	pkgsrc-2013Q1-base:1.11
	pkgsrc-2012Q4:1.10.0.10
	pkgsrc-2012Q4-base:1.10
	pkgsrc-2012Q3:1.10.0.8
	pkgsrc-2012Q3-base:1.10
	pkgsrc-2012Q2:1.10.0.6
	pkgsrc-2012Q2-base:1.10
	pkgsrc-2012Q1:1.10.0.4
	pkgsrc-2012Q1-base:1.10
	pkgsrc-2011Q4:1.10.0.2
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q3:1.9.0.18
	pkgsrc-2011Q3-base:1.9
	pkgsrc-2011Q2:1.9.0.16
	pkgsrc-2011Q2-base:1.9
	pkgsrc-2011Q1:1.9.0.14
	pkgsrc-2011Q1-base:1.9
	pkgsrc-2010Q4:1.9.0.12
	pkgsrc-2010Q4-base:1.9
	pkgsrc-2010Q3:1.9.0.10
	pkgsrc-2010Q3-base:1.9
	pkgsrc-2010Q2:1.9.0.8
	pkgsrc-2010Q2-base:1.9
	pkgsrc-2010Q1:1.9.0.6
	pkgsrc-2010Q1-base:1.9
	pkgsrc-2009Q4:1.9.0.4
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2009Q3:1.9.0.2
	pkgsrc-2009Q3-base:1.9
	pkgsrc-2009Q2:1.8.0.14
	pkgsrc-2009Q2-base:1.8
	pkgsrc-2009Q1:1.8.0.12
	pkgsrc-2009Q1-base:1.8
	pkgsrc-2008Q4:1.8.0.10
	pkgsrc-2008Q4-base:1.8
	pkgsrc-2008Q3:1.8.0.8
	pkgsrc-2008Q3-base:1.8
	cube-native-xorg:1.8.0.6
	cube-native-xorg-base:1.8
	pkgsrc-2008Q2:1.8.0.4
	pkgsrc-2008Q2-base:1.8
	cwrapper:1.8.0.2
	pkgsrc-2008Q1:1.7.0.18
	pkgsrc-2008Q1-base:1.7
	pkgsrc-2007Q4:1.7.0.16
	pkgsrc-2007Q4-base:1.7
	pkgsrc-2007Q3:1.7.0.14
	pkgsrc-2007Q3-base:1.7
	pkgsrc-2007Q2:1.7.0.12
	pkgsrc-2007Q2-base:1.7
	pkgsrc-2007Q1:1.7.0.10
	pkgsrc-2007Q1-base:1.7
	pkgsrc-2006Q4:1.7.0.8
	pkgsrc-2006Q4-base:1.7
	pkgsrc-2006Q3:1.7.0.6
	pkgsrc-2006Q3-base:1.7
	pkgsrc-2006Q2:1.7.0.4
	pkgsrc-2006Q2-base:1.7
	pkgsrc-2006Q1:1.7.0.2
	pkgsrc-2006Q1-base:1.7
	pkgsrc-2005Q4:1.6.0.18
	pkgsrc-2005Q4-base:1.6
	pkgsrc-2005Q3:1.6.0.16
	pkgsrc-2005Q3-base:1.6
	pkgsrc-2005Q2:1.6.0.14
	pkgsrc-2005Q2-base:1.6
	pkgsrc-2005Q1:1.6.0.12
	pkgsrc-2005Q1-base:1.6
	pkgsrc-2004Q4:1.6.0.10
	pkgsrc-2004Q4-base:1.6
	pkgsrc-2004Q3:1.6.0.8
	pkgsrc-2004Q3-base:1.6
	pkgsrc-2004Q2:1.6.0.6
	pkgsrc-2004Q2-base:1.6
	pkgsrc-2004Q1:1.6.0.4
	pkgsrc-2004Q1-base:1.6
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	netbsd-1-6-1:1.4.0.2
	netbsd-1-6-1-base:1.4
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3
	netbsd-1-5-PATCH001:1.3
	netbsd-1-5-RELEASE:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.2
	netbsd-1-4-PATCH001:1.1.1.1
	netbsd-1-4-RELEASE:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.13
date	2017.08.23.17.53.55;	author jlam;	state Exp;
branches;
next	1.12;
commitid	X7K87T61D34YBm4A;

1.12
date	2015.02.05.11.29.48;	author mef;	state Exp;
branches;
next	1.11;
commitid	n1vwyInH6HmonO8y;

1.11
date	2013.02.16.08.56.45;	author shattered;	state Exp;
branches;
next	1.10;

1.10
date	2011.11.29.17.47.41;	author hans;	state Exp;
branches;
next	1.9;

1.9
date	2009.09.23.13.52.11;	author tnn;	state Exp;
branches;
next	1.8;

1.8
date	2008.06.20.01.09.21;	author joerg;	state Exp;
branches;
next	1.7;

1.7
date	2005.12.30.15.00.02;	author ben;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.03.20.44.29;	author jdolecek;	state Exp;
branches;
next	1.5;

1.5
date	2003.03.23.02.02.34;	author rh;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.19.06.59.52;	author salo;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.01.20.42.56;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	99.08.08.01.09.51;	author mjl;	state Exp;
branches;
next	1.1;

1.1
date	99.03.30.09.13.12;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.03.30.09.13.12;	author rh;	state Exp;
branches;
next	;


desc
@@


1.13
log
@graphics/cdlabelgen: Remove perldoc(1) as a build tool.

There is no documentation in the "cdlabelgen" script that can be
extracted using perldoc(1).  Remove the rule invoking perldoc(1)
and remove the need for perldoc(1) as a build tool, which fixes the
build error due to missing
documentation.

Greatly simplify the patch to the project Makefile by moving some
of the logic in the package Makefile.  Almost no changes to the
package Makefile are needed if the appropriate variables are
overridden on the make(1) command line.
@
text
@$NetBSD: patch-ab,v 1.12 2015/02/05 11:29:48 mef Exp $

--- Makefile.orig	2013-03-31 19:37:51.000000000 +0000
+++ Makefile
@@@@ -25,6 +25,7 @@@@ DISTFILES = $(SOURCES) $(POSTSCRIPT)
 INSTALL		:= install -m 0755
 INSTALL_DIR	:= install -d -m 0755
 INSTALL_FILE	:= install -m 0644
+INSTALL_MAN	:= install -m 0644
 
 # Makefile macros....
 #1.  $@@ is the name of the file to be made.
@@@@ -52,7 +53,7 @@@@ install: all
 	@@echo ""
 	$(INSTALL_DIR) $(BIN_DIR)
 	$(INSTALL) cdlabelgen $(BIN_DIR)
-	$(INSTALL_FILE) cdlabelgen.1 $(MAN_DIR)/man1
+	$(INSTALL_MAN) cdlabelgen.1 $(MAN_DIR)/man1
 	$(INSTALL_DIR) $(LIB_DIR)
 	set -e; \
 	for file in $(POSTSCRIPT); do \
@


1.12
log
@Update 4.2.0 to 4.3.0
---------------------
2013-03-31
  4.3.0
  * New web script cdinsert-ps.pl and page cdlabelgen-form.html added.
    It now only generates .ps file, so can be hosted at any site that offers
    perl cgi support.
    No change to core cdlabelgen script and it remains at version# 4.2.0.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.11 2013/02/16 08:56:45 shattered Exp $
d3 7
a9 5
--- Makefile.orig	2013-04-01 04:37:51.000000000 +0900
+++ Makefile	2015-02-05 18:58:24.000000000 +0900
@@@@ -10,12 +10,12 @@@@ ZIPVERSION = 430
 # Change these to locations you need, also
 # remember to edit cdlabelgen and its @@where_is_the_template as needed.
d11 3
a13 29
-BASE_DIR   = /usr
+BASE_DIR   = ${PREFIX}
 # BASE_DIR   = /usr/local
 # BASE_DIR   = /opt
 BIN_DIR   = $(BASE_DIR)/bin
 LIB_DIR   = $(BASE_DIR)/share/cdlabelgen
-MAN_DIR   = $(BASE_DIR)/share/man
+MAN_DIR   = $(BASE_DIR)/$(PKGMANDIR)
 WEBSOURCES= ../cdinsert.pl ../cdinsert-ps.pl ../cdlabelgen-form.html
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html spec.template $(WEBSOURCES)
 POSTSCRIPT = template.ps *.eps
@@@@ -38,6 +38,14 @@@@ RPM_TOPDIR	:= $(HOME)/rpmbuild
 # ---------------
 
 all: cdlabelgen.html cdlabelgen.1
+	${SED} s=@@PREFIX@@=${PREFIX}=g <cdlabelgen >cdlabelgen.new
+	${MV} cdlabelgen.new cdlabelgen
+	if [ `id -u` -eq 0 ]; then	\
+		perldoc_flags="-U";	\
+	else				\
+		perldoc_flags="";	\
+	fi;				\
+	perldoc $$perldoc_flags cdlabelgen >cdlabelgen.0
 
 cdlabelgen.html: cdlabelgen.pod
 	pod2html --outfile=$@@ --infile=$?
@@@@ -50,13 +58,13 @@@@ cdlabelgen.1: cdlabelgen.pod
 install: all
 	@@echo "Installing cdlabelgen in $(BIN_DIR) and $(LIB_DIR)"
d15 2
a16 2
-	$(INSTALL_DIR) $(BIN_DIR)
-	$(INSTALL) cdlabelgen $(BIN_DIR)
d18 2
a19 5
-	$(INSTALL_DIR) $(LIB_DIR)
+
+	${BSD_INSTALL_SCRIPT} cdlabelgen ${DESTDIR}${BIN_DIR}
+	${BSD_INSTALL_MAN} cdlabelgen.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}${LIB_DIR}
a21 5
-		$(INSTALL_FILE) postscript/$$file $(LIB_DIR)/; \
+		${BSD_INSTALL_DATA} postscript/$$file ${DESTDIR}${LIB_DIR}; \
 	done
 	@@echo "** Done. Check $(BIN_DIR)/cdlabelgen and fix @@where_is_the_template - if needed!"
 
@


1.11
log
@Update to 4.2.0.  Notable changes:

  * --tray-overlay option added - use this to overlay a EPS file onto the
      tray, for example, a barcode image.
  * cdinsert.pl now used to display initial form, as well as a
    filled-in form to allow for easy corrections/resubmits on the done page.
  * Create covers for double-sided DVD cases that hold 6 DVDs.
  * cdinsert.pl now supports "Omit title/subtitle from Cover" option.
  * Support for double-depth slim DVD cases. --slim-double-case option added.
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- Makefile.orig	2012-04-15 22:22:19.000000000 +0000
+++ Makefile
@@@@ -10,12 +10,12 @@@@ ZIPVERSION = 420
d17 2
a18 1
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile ../cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html spec.template
d20 1
a20 2
 DISTFILES = $(SOURCES) $(POSTSCRIPT)
@@@@ -37,6 +37,14 @@@@ RPM_TOPDIR	:= $(HOME)/rpmbuild
d35 1
a35 1
@@@@ -49,13 +57,13 @@@@ cdlabelgen.1: cdlabelgen.pod
d45 1
a45 1
+	${BSD_INSTALL_MAN} cdlabelgen.1 ${DESTDIR}${MAN_DIR}/man1
@


1.10
log
@Fix perl usage.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.9 2009/09/23 13:52:11 tnn Exp $
d3 1
a3 1
--- Makefile.orig	2005-08-23 17:22:44.000000000 +0200
d5 1
a5 1
@@@@ -8,12 +8,12 @@@@ ZIPVERSION = 360
d9 1
a9 1
-BASE_DIR   = /usr/local
d14 2
a15 3
-LIB_DIR   = $(BASE_DIR)/lib/cdlabelgen
-MAN_DIR   = $(BASE_DIR)/man
+LIB_DIR   = $(BASE_DIR)/share/cdlabelgen
d20 1
a20 1
@@@@ -31,6 +31,14 @@@@ INSTALL_FILE	:= install -m 0644
d35 1
a35 1
@@@@ -43,13 +51,13 @@@@ cdlabelgen.1: cdlabelgen.pod
@


1.9
log
@honour PKGMANDIR
@
text
@d1 1
a1 1
$NetBSD$
d32 1
a32 1
+	${LOCALBASE}/bin/perldoc $$perldoc_flags cdlabelgen >cdlabelgen.0
@


1.8
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2005/12/30 15:00:02 ben Exp $
d3 1
a3 1
--- Makefile.orig	2005-08-23 08:22:44.000000000 -0700
d5 1
a5 1
@@@@ -8,11 +8,11 @@@@ ZIPVERSION = 360
d15 1
d17 1
a17 1
 MAN_DIR   = $(BASE_DIR)/man
d20 1
@


1.7
log
@Update to cdlabelgen version 3.6.0, and update MASTER_SITES and HOMEPAGE.

Changes include:
* --rows-columns=r,c will force all items to be fit in "c" columns, with
  each column having "r" lines (rows).
* Makefile: use INSTALL_FILE to install man page
* CD Label support - print directly on the CD or DVD
* --page-offset now accepts an optional X-axis offset also
  --page-offset [xoffset,]yoffset
* Fix cdinsert.pl CGI script to use PAPERSIZE option for A4 paper
* Slim Case now applies to DVD outside also - creates outside inserts
  for half-height DVD cases  - driven by these arguments:
  --create-dvd-outside --slim-case
* --slim-case to be used instead of --create-slim-cover (deprecated)
* End Cap text can now be rotated (flipped), --rotate-end-caps
* {#M} and {#MB} support directives added
  {#M} {#MB} {#BI} {#B} {#I} can appear in input text,  to make a line
  monospaced, monospaced-bold, bold-italic, bold, or italic respectively.
  Directives must appear in column 1 of line.
* Added dvdlogo.eps
* Changed aczone to aczoom
* DVD outside cover inserts now supported, --create-dvd-outside option
* Move down the DVD inside insert to fit better on letter and A4 paper
* trayimage "fill2" now fills all - cover, tray, spine, as appropriate
* Fixed bug in --outside-foldout and placement of tray image
* Fixed BoundingBox in divx.eps
* Date handling changed to use its own font size
@
text
@d1 1
a1 1
$NetBSD$
d43 3
a45 3
+	${BSD_INSTALL_SCRIPT} cdlabelgen ${BIN_DIR}
+	${BSD_INSTALL_MAN} cdlabelgen.1 ${MAN_DIR}/man1
+	${BSD_INSTALL_DATA_DIR} ${LIB_DIR}
d49 1
a49 1
+		${BSD_INSTALL_DATA} postscript/$$file ${LIB_DIR}; \
@


1.6
log
@Update cdlabelgen to latest version, 2.6.1

Changes:
* Word-wrap fix
* Included two logos for DivX and Ogg Vorbis
* Added option to output slim CD cover cases with page order switched
* Added --no-cover-plaque and --number-in-set <string>
* Updated spec file to match 2.6.1
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.5 2003/03/23 02:02:34 rh Exp $
d3 3
a5 3
--- Makefile.orig	2003-07-18 22:33:20.000000000 +0200
+++ Makefile	2003-08-03 22:05:34.000000000 +0200
@@@@ -8,11 +8,11 @@@@
d17 1
a17 1
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html spec.template
d19 1
a19 1
@@@@ -31,6 +31,14 @@@@
d34 1
a34 1
@@@@ -43,13 +51,13 @@@@
d40 3
a42 1
-	$(INSTALL) cdlabelgen.1 $(MAN_DIR)/man1
d44 1
a45 2
+	${BSD_INSTALL_MAN} cdlabelgen.0 ${MAN_DIR}/cat1/
 	$(INSTALL_DIR) $(LIB_DIR)
@


1.5
log
@Update cdlabelgen to 2.5.0.  Changes include:

  cdlablegen:
  * added support for long options
  * added some options to choose different colors for plaque background,
    category, subcategory and text
  * added a man page
  * add /opt/lib/cdlabelgen/ to template search paths
  * added: -M option, to print out envelope for a CD
  * -v <very large number> is no longer an error, instead, all
    items are printed on cover, none on the tray card.
  * also added .spec file, from other sources on web, for RPM installs.
    Use:
    rpm -ta cdlabelgen-n.n.n.tgz
    to create RPM [not tested]
  * -v option to support splitting items array into items for cover,
    and items for tray
  * word wrap could result in 0 items, now ensures that #items >= 1
  * fixed bug where -f <file> containing one item only was being skipped;
    also added code to handle all kinds of end-of-line delimiters in the
    items file - each line is considered to be one item, so need to
    handle all kinds of EOLN characters.
  * -w word wrap was not working, now should work better in all cases
  * added -p option, pass to template.ps option to clip items
    instead of auto_reducing them to fit to a column
  * allow skipping either -c or -s option (or both)
  * minor change to insert \n in @@items - keeps PostScript DSC
    compliant (as far as possible!) - line length should be < 255 chars
    done to keep warning messages away when using GSview

  template.ps:
  * added support for plaque background color, category text color,
    subcategory text color and text color
  * increased normal cd case insert dimensions very slightly for better
    fit
  * removed the ISOLatin1 recoding of fonts; added %%BeginProlog DSC
    comment - this allows piping output through the ogonkify program
    which can recode in a number of encodings. see man page for more
    information.
  * fill2 background should fill two endcaps only, do not fill the extreme
    right-hand tongue-cap, since the tongue-cap does not exist in normal
    cd inserts
  * added optional image translate arguments for -S and -T to
    offset cover/tray image as required
  * added -y: move entire printout up or down; ex: -y 1.5, for A4 paper size
  * added -l: control width of cover/tray edge lines, 0 skips printing
    edge lines entirely
  * support printing of CD envelopes, merged in envelope template sent
    by Ronald Rael Harvest <number6@@cox.net>
  * added variables to control left/right margins for both cover and tray
  * both cover and tray can print list of items, uses two different
    arrays containing the items
  * add "fill2" option to fill image in tray and end-caps too
    in addition to just filling the interior of the tray card
  * -s <subban_string> would not print along the spine even when it would fit,
    Rewrote make_endcap function.
  * added larger bottom page offset - hopefully, will work on most
    printers using A4 size (Europe)
  * -p option now actually clips text (instead of just clipping
    graphically - used to leave partial letters on the printout)
    now full characters at the end of the string are omitted if needed
    to fit the column
  * major change to the font size and number of columns
    computation for list of items
    Added option to clip text instead of auto_reducing text to
    fit to column
  * images can be scaled to completely fill cover and tray card - so
    they can be used as background images.
  * added support directives {#BI} {#B} {#I}, appearing in input text,
    make a line bold-italic, or bold, or italic respectively.
    Directives must appear in column 1 of line.
  * bug fix: in n columns output,  if number of items was not a multiple
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- Makefile.orig	2002-10-28 01:07:06.000000000 +1000
+++ Makefile
@@@@ -8,11 +8,11 @@@@ ZIPVERSION = 250
d17 1
a17 1
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html cdlabelgen$(VERSION).spec
d19 1
a19 1
@@@@ -31,6 +31,14 @@@@ INSTALL_FILE	:= install -m 0644
d30 1
a30 1
+	${LOCALBASE}/bin/perldoc $${perldoc_flags} cdlabelgen >cdlabelgen.0
d34 1
a34 1
@@@@ -43,15 +51,13 @@@@ cdlabelgen.1: cdlabelgen.pod
a40 1
-	$(INSTALL_DIR) $(LIB_DIR)
d44 1
d50 1
a50 1
-	@@echo "** Done. Check $(BIN_DIR)/cdlabelgen and fix @@where_is_the_template - if needed!"
a51 2
 dist: all
 	rm -rf cdlabelgen$(VERSION)
@


1.4
log
@s/INSTALL_*/BSD_INSTALL_*/ in patches, remove unnecessary MAKE_ENV.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.3 2000/09/01 20:42:56 jlam Exp $
d3 5
a7 5
--- Makefile.orig	Sun Jul  4 18:44:37 1999
+++ Makefile	Fri Sep  1 16:34:47 2000
@@@@ -4,31 +4,34 @@@@
 
 # Where you want cdlabelgen and related files to be
d11 10
a20 5
 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 debian-color.eps debian-bw.eps
 DISTFILES = $(SOURCES) $(POSTSCRIPT)
d22 1
a22 6
-# 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
-
 all: cdlabelgen
d32 5
a36 4
 ###
 install: 
-	@@echo "Installing cdlabelgen under $(BASE_DIR)"
+	@@echo "Installing cdlabelgen under ${BASE_DIR}"
d38 7
a44 8
-	$(INSTALL_DIR) $(BASE_DIR)/bin
-	$(INSTALL) cdlabelgen $(BASE_DIR)/bin
-	$(INSTALL_DIR) $(BASE_DIR)/share/cdlabelgen
-	$(INSTALL_FILE) $(TEMPLATE) $(BASE_DIR)/share/cdlabelgen
+	${BSD_INSTALL_SCRIPT} cdlabelgen ${BASE_DIR}/bin/cdlabelgen
+	${BSD_INSTALL_DATA_DIR} ${BASE_DIR}/share/cdlabelgen
+	${BSD_INSTALL_DATA} $(TEMPLATE) ${BASE_DIR}/share/cdlabelgen/
+	${BSD_INSTALL_MAN} cdlabelgen.0 ${BASE_DIR}/man/cat1/
d47 2
a48 2
-		$(INSTALL_FILE) postscript/$$file $(BASE_DIR)/share/cdlabelgen/; \
+		${BSD_INSTALL_DATA} postscript/$$file ${BASE_DIR}/share/cdlabelgen/; \
d50 1
d52 2
a53 1
 dist: 
@


1.3
log
@If superuser, then run perldoc with -U flag to allow execution.
Fixes pkg/10931 by Matthias Scheler <tron@@lyssa.zhadum.de>.
@
text
@d1 1
a1 1
$NetBSD$
d41 4
a44 4
+	${INSTALL_SCRIPT} cdlabelgen ${BASE_DIR}/bin/cdlabelgen
+	mkdir ${BASE_DIR}/share/cdlabelgen
+	${INSTALL_DATA} $(TEMPLATE) ${BASE_DIR}/share/cdlabelgen/
+	${INSTALL_MAN} cdlabelgen.0 ${BASE_DIR}/man/cat1/
d48 1
a48 1
+		${INSTALL_DATA} postscript/$$file ${BASE_DIR}/share/cdlabelgen/; \
@


1.2
log
@Update cdlabelgen to 1.5.0.

Changes:

Hacked in some primitive word wrapping since a lot of people have
been clamoring for it.
Added new debian logo eps files (color and b/w)
Numerous makefile fixes.
Added in a routine to check that no files included are zero length.
Hacked in the -b flag to suppress printing of the plaque on the traycard.
Now goes from 1 to 4 columns (instead of 2-4)
Documented new features and fixed old doco buglets.
User can now specify standard .eps files without having to give the full
path if the eps file resides in one of the standard cdlabelgen search paths.
Now provides the extra 'tongue' needed for clear trays.
Can now explicitly specify which templatefile to use (useful for
customizations or just for hacking together different templates.
Added in patch to print arbitrary ISO-Latin1 characters.
@
text
@d3 3
a5 3
--- Makefile.orig	Sun Aug  8 02:34:22 1999
+++ Makefile	Sun Aug  8 02:37:09 1999
@@@@ -4,31 +4,29 @@@@
d25 6
a30 1
+	${PREFIX}/bin/perldoc cdlabelgen >cdlabelgen.0
@


1.1
log
@Initial revision
@
text
@d3 3
a5 3
--- Makefile.orig	Thu Mar 25 01:17:34 1999
+++ Makefile	Tue Mar 30 10:49:43 1999
@@@@ -4,23 +4,24 @@@@
d13 9
a21 7
 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
 
d29 2
a30 1
 	@@echo "Installing cdlabelgen under ${BASE_DIR}"
d32 8
a39 11
-	$(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
d42 1
a42 1
-		$(INSTALL_FILE) postscript/$$file ${BASE_DIR}/share/cdlabelgen/; \
a44 1
+	${INSTALL_MAN} cdlabelgen.0 ${PREFIX}/man/cat1
a46 1
 	rm -rf cdlabelgen-${VERSION}
@


1.1.1.1
log
@Initial import of cdlabelgen, a tool to generate frontcards and traycards
for CDs
@
text
@@
