2018-08-22 11:43:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.35 2018/08/22 09:45:11 wiz Exp $
|
1999-03-30 11:13:11 +02:00
|
|
|
|
2015-02-05 12:29:48 +01:00
|
|
|
DISTNAME= cdlabelgen-4.3.0
|
2018-08-22 11:43:40 +02:00
|
|
|
PKGREVISION= 3
|
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
2003-03-23 03:02:33 +01:00
|
|
|
CATEGORIES= graphics
|
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
2005-12-30 16:00:02 +01:00
|
|
|
MASTER_SITES= http://www.aczoom.com/pub/tools/
|
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
2003-03-23 03:02:33 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-03-30 11:13:11 +02:00
|
|
|
|
2010-11-01 01:08:09 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.aczoom.com/tools/cdinsert/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Generate frontcards and traycards for CDs
|
1999-03-30 11:13:11 +02:00
|
|
|
|
2017-08-23 19:53:55 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2004-04-25 01:43:27 +02:00
|
|
|
USE_LANGUAGES= # empty
|
2011-11-29 18:47:41 +01:00
|
|
|
REPLACE_PERL+= cdlabelgen
|
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
2003-03-23 03:02:33 +01:00
|
|
|
|
2018-01-14 15:58:38 +01:00
|
|
|
MAKE_FLAGS+= BASE_DIR=${DESTDIR}${PREFIX}
|
|
|
|
MAKE_FLAGS+= MAN_DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
2017-08-23 19:53:55 +02:00
|
|
|
MAKE_FLAGS+= INSTALL=${INSTALL_SCRIPT:Q}
|
|
|
|
MAKE_FLAGS+= INSTALL_FILE=${INSTALL_DATA:Q}
|
|
|
|
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
|
1999-03-30 11:13:11 +02:00
|
|
|
|
2017-08-23 19:53:55 +02:00
|
|
|
INSTALLATION_DIRS= bin share/cdlabelgen ${PKGMANDIR}/man1
|
2008-06-20 03:09:05 +02:00
|
|
|
|
2003-08-03 22:44:26 +02:00
|
|
|
post-extract:
|
2003-11-01 14:18:44 +01:00
|
|
|
cd ${WRKSRC} && ${CHMOD} go+r *
|
2003-08-03 22:44:26 +02:00
|
|
|
|
2017-08-23 19:53:55 +02:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${SED} -e "s,@PREFIX@,${PREFIX},g" cdlabelgen > cdlabelgen.new && \
|
|
|
|
${MV} cdlabelgen.new cdlabelgen
|
|
|
|
|
1999-03-30 11:13:11 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|