Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

20
graphics/cdlabelgen/DESCR Normal file
View File

@@ -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.

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.27 2013/05/31 12:41:05 wiz Exp $
DISTNAME= cdlabelgen-4.2.0
#KGREVISION= 1
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.aczoom.com/pub/tools/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.aczoom.com/tools/cdinsert/
COMMENT= Generate frontcards and traycards for CDs
USE_TOOLS+= perl:run perldoc
USE_LANGUAGES= # empty
REPLACE_PERL+= cdlabelgen
MAKE_ENV+= SED=${SED:Q}
MAKE_ENV+= MV=${MV:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
post-extract:
cd ${WRKSRC} && ${CHMOD} go+r *
.include "../../mk/bsd.pkg.mk"

16
graphics/cdlabelgen/PLIST Normal file
View File

@@ -0,0 +1,16 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:59:07 joerg Exp $
bin/cdlabelgen
man/man1/cdlabelgen.1
share/cdlabelgen/cd.eps
share/cdlabelgen/cdda.eps
share/cdlabelgen/dvdlogo.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.eps
share/cdlabelgen/template.ps
share/cdlabelgen/winamp.eps

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.17 2013/02/16 08:56:45 shattered Exp $
SHA1 (cdlabelgen-4.2.0.tgz) = cbad1b9de9484a6608ef37edb60a5eaafee5c1a4
RMD160 (cdlabelgen-4.2.0.tgz) = 7623dd451625dc872a238b3a4a24a4b1883547fa
Size (cdlabelgen-4.2.0.tgz) = 198649 bytes
SHA1 (patch-aa) = 9bb28d697c5d8853df9df27f1511b0122962ba5d
SHA1 (patch-ab) = 59a4a94b044510075cdf1e1bca365ad8eb4cae74

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.6 2011/11/29 17:47:41 hans Exp $
--- cdlabelgen.orig 2005-08-23 08:22:44.000000000 -0700
+++ cdlabelgen
@@ -101,6 +101,7 @@ my @where_is_the_template;
if ($^O !~ /^MSWin32/) { # not windows...
# Unix section -----------------------------------------------------
@where_is_the_template = (
+ '@PREFIX@/share/cdlabelgen/',
'/usr/local/lib/cdlabelgen/',
'/usr/share/cdlabelgen/',
'/opt/lib/cdlabelgen/',

View File

@@ -0,0 +1,53 @@
$NetBSD: patch-ab,v 1.11 2013/02/16 08:56:45 shattered Exp $
--- Makefile.orig 2012-04-15 22:22:19.000000000 +0000
+++ Makefile
@@ -10,12 +10,12 @@ ZIPVERSION = 420
# Change these to locations you need, also
# remember to edit cdlabelgen and its @where_is_the_template as needed.
-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)
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)
@@ -37,6 +37,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=$?
@@ -49,13 +57,13 @@ cdlabelgen.1: cdlabelgen.pod
install: all
@echo "Installing cdlabelgen in $(BIN_DIR) and $(LIB_DIR)"
@echo ""
- $(INSTALL_DIR) $(BIN_DIR)
- $(INSTALL) cdlabelgen $(BIN_DIR)
- $(INSTALL_FILE) cdlabelgen.1 $(MAN_DIR)/man1
- $(INSTALL_DIR) $(LIB_DIR)
+
+ ${BSD_INSTALL_SCRIPT} cdlabelgen ${DESTDIR}${BIN_DIR}
+ ${BSD_INSTALL_MAN} cdlabelgen.1 ${DESTDIR}${MAN_DIR}/man1
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${LIB_DIR}
set -e; \
for file in $(POSTSCRIPT); do \
- $(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!"