update to disc-cover 1.4.0

{DE,}INSTALL messages are unneccessary, so removed

naddy@ OK
This commit is contained in:
sturm 2002-12-18 09:36:21 +00:00
parent 89b02e5304
commit b18b3fd053
5 changed files with 11 additions and 85 deletions

View File

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

View File

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

View File

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

View File

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

View File

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