From b18b3fd053bb398ed38cd465a23b239a2af9166a Mon Sep 17 00:00:00 2001 From: sturm Date: Wed, 18 Dec 2002 09:36:21 +0000 Subject: [PATCH] update to disc-cover 1.4.0 {DE,}INSTALL messages are unneccessary, so removed naddy@ OK --- audio/disc-cover/Makefile | 4 +- audio/disc-cover/distinfo | 6 +-- audio/disc-cover/patches/patch-disc-cover | 12 +++--- audio/disc-cover/pkg/DEINSTALL | 25 ------------ audio/disc-cover/pkg/INSTALL | 49 ----------------------- 5 files changed, 11 insertions(+), 85 deletions(-) delete mode 100644 audio/disc-cover/pkg/DEINSTALL delete mode 100644 audio/disc-cover/pkg/INSTALL diff --git a/audio/disc-cover/Makefile b/audio/disc-cover/Makefile index 74756f50c2b..98c4557289f 100644 --- a/audio/disc-cover/Makefile +++ b/audio/disc-cover/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.11 2002/11/22 16:43:44 sturm Exp $ +# $OpenBSD: Makefile,v 1.12 2002/12/18 09:36:21 sturm Exp $ COMMENT= "creates cover for audio cds using cddb and latex" -DISTNAME= disc-cover-1.3.2 +DISTNAME= disc-cover-1.4.0 CATEGORIES= audio HOMEPAGE= http://home.wanadoo.nl/jano/disc-cover.html diff --git a/audio/disc-cover/distinfo b/audio/disc-cover/distinfo index 09a0bc68be5..02b62b2f6cc 100644 --- a/audio/disc-cover/distinfo +++ b/audio/disc-cover/distinfo @@ -1,3 +1,3 @@ -MD5 (disc-cover-1.3.2.tar.gz) = bfd94b2796c2292530d38bf1e2f1898f -RMD160 (disc-cover-1.3.2.tar.gz) = a65b821111d89be84d93a19560493940bfb64c7f -SHA1 (disc-cover-1.3.2.tar.gz) = 32ced0d4fe1201d0f475aa2541451077d703b99e +MD5 (disc-cover-1.4.0.tar.gz) = 74ec5c44c99a38da2bc9568d2b5f7b14 +RMD160 (disc-cover-1.4.0.tar.gz) = 302d52cb052003e68126080cd47c4a0585b6ffb9 +SHA1 (disc-cover-1.4.0.tar.gz) = 612eed43b4dd6b6c8c325dca51f56afc18287018 diff --git a/audio/disc-cover/patches/patch-disc-cover b/audio/disc-cover/patches/patch-disc-cover index 4d88f03edaa..51d27f75c83 100644 --- a/audio/disc-cover/patches/patch-disc-cover +++ b/audio/disc-cover/patches/patch-disc-cover @@ -1,12 +1,12 @@ -$OpenBSD: patch-disc-cover,v 1.1.1.1 2001/08/16 21:56:35 pvalchev Exp $ ---- disc-cover.orig Thu Jun 14 21:53:51 2001 -+++ disc-cover Thu Jun 14 21:55:43 2001 -@@ -36,7 +36,7 @@ - +$OpenBSD: patch-disc-cover,v 1.2 2002/12/18 09:36:21 sturm Exp $ +--- disc-cover.orig Tue Dec 10 22:21:28 2002 ++++ disc-cover Tue Dec 10 22:24:53 2002 +@@ -39,7 +39,7 @@ my ($config_homedir) = ""; + $config_homedir = "$ENV{HOME}" if (defined $ENV{HOME}); my ($config_tmp_dir) = '/tmp'; my ($config_output_format) = 'ps'; -my ($config_device) = "/dev/cdrom"; +my ($config_device) = "/dev/cd0c"; - my ($config_cddb_cache_directory) = "$ENV{HOME}/.cddb"; + my ($config_cddb_cache_directory) = "$config_homedir/.cddb"; my ($config_flaptext) = split ',', (getpwuid($<))[6]; my ($config_version_config) = undef; diff --git a/audio/disc-cover/pkg/DEINSTALL b/audio/disc-cover/pkg/DEINSTALL deleted file mode 100644 index b6417e35da1..00000000000 --- a/audio/disc-cover/pkg/DEINSTALL +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/08/16 21:56:35 pvalchev Exp $ -# -# disc-cover de-installation - -set -e -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} -CONFIG_DIR=${SYSCONFDIR} - -if [ -d $CONFIG_DIR ]; then - echo - echo "+---------------" - echo "| To completely deinstall the $1 package your users need" - echo "| to perform this step:" - echo "|" - echo "| rm ~/.cdserverrc" - echo "|" - echo "| Do not do this if you plan on re-installing $1" - echo "| at some future time." - echo "+---------------" - echo -fi - -exit 0 diff --git a/audio/disc-cover/pkg/INSTALL b/audio/disc-cover/pkg/INSTALL deleted file mode 100644 index 5250df9f9a5..00000000000 --- a/audio/disc-cover/pkg/INSTALL +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# $OpenBSD: INSTALL,v 1.2 2002/02/02 06:10:37 pvalchev Exp $ -# - -# exit on errors, use a sane path and install prefix -# -set -e -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} - -do_install() -{ - echo - echo "+---------------" - echo "| To use disc-cover, one has to create ~/.cdserverrc by running" - echo "|" - echo "| $PREFIX/bin/disc-cover -S" - echo "|" - echo "| if it does not already exist, and probably change the SERVER" - echo "| variable when editing this file." - echo "| Also see $PREFIX/share/examples/disc-cover" - echo "| for a cgi to use disc-cover with a webserver." - echo "+---------------" - echo -} - -# verify proper execution -# -if [ $# -ne 2 ]; then - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 -fi - -# Verify/process the command -# -case $2 in - PRE-INSTALL) - : nothing to pre-install for this port - ;; - POST-INSTALL) - do_install $1 - ;; - *) - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 - ;; -esac - -exit 0