update to 1.5.0

This commit is contained in:
sturm 2003-04-18 21:27:12 +00:00
parent 4f02f14ade
commit bd7bd97b64
4 changed files with 39 additions and 16 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2002/12/18 09:36:21 sturm Exp $
# $OpenBSD: Makefile,v 1.13 2003/04/18 21:27:12 sturm Exp $
COMMENT= "creates cover for audio cds using cddb and latex"
DISTNAME= disc-cover-1.4.0
DISTNAME= disc-cover-1.5.0
CATEGORIES= audio
HOMEPAGE= http://home.wanadoo.nl/jano/disc-cover.html
@ -24,15 +24,24 @@ RUN_DEPENDS= :teTeX_base-*:print/teTeX/base \
NO_REGRESS= Yes
EX_DIR= ${PREFIX}/share/examples/disc-cover
PNGS= busy.png offline.png online.png
post-patch:
@perl -i -pe "s#%%PREFIX%%#${PREFIX}#" ${WRKSRC}/disc-cover
do-build:
@cd ${WRKSRC}; \
pod2man disc-cover disc-cover.1
@cd ${WRKSRC}; pod2man disc-cover disc-cover.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/disc-cover ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/disc-cover.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/disc-cover
${INSTALL_SCRIPT} ${WRKSRC}/freedb/index.cgi ${PREFIX}/share/examples/disc-cover
${INSTALL_DATA} ${WRKSRC}/freedb/README ${PREFIX}/share/examples/disc-cover
${INSTALL_DATA_DIR} ${EX_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/{index.cgi,online.cgi} ${EX_DIR}
.for i in ${PNGS}
${INSTALL_DATA} ${WRKSRC}/${i} ${EX_DIR}
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/disc-cover
${INSTALL_DATA} ${WRKSRC}/templates/* ${PREFIX}/share/disc-cover
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
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
MD5 (disc-cover-1.5.0.tar.gz) = 6e1797474e98b401f68e7c3c5f5cfb0c
RMD160 (disc-cover-1.5.0.tar.gz) = 1198100cc72da2db4587167ab587da1c420eb688
SHA1 (disc-cover-1.5.0.tar.gz) = a98d4acd4612a733c6e3821b6bc55434b4cde295

View File

@ -1,9 +1,12 @@
$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) = "";
$OpenBSD: patch-disc-cover,v 1.3 2003/04/18 21:27:12 sturm Exp $
--- disc-cover.orig Thu Mar 13 15:17:05 2003
+++ disc-cover Fri Apr 18 21:57:11 2003
@@ -38,9 +38,9 @@
my ($config_homedir) = "";
$config_homedir = "$ENV{HOME}" if (defined $ENV{HOME});
my ($config_tmp_dir) = '/tmp';
-my (@config_template_dirs) = ('/usr/share/disc-cover/templates','/usr/lib/disc-cover/templates','templates');
+my (@config_template_dirs) = ('%%PREFIX%%/share/disc-cover','templates');
my ($config_output_format) = 'ps';
-my ($config_device) = "/dev/cdrom";
+my ($config_device) = "/dev/cd0c";

View File

@ -1,6 +1,17 @@
@comment $OpenBSD: PLIST,v 1.2 2002/02/02 06:10:37 pvalchev Exp $
@comment $OpenBSD: PLIST,v 1.3 2003/04/18 21:27:12 sturm Exp $
bin/disc-cover
man/man1/disc-cover.1
share/examples/disc-cover/README
share/disc-cover/jewel
share/disc-cover/letter-slim
share/disc-cover/sleeve
share/disc-cover/slim
share/disc-cover/tape
share/disc-cover/tevion-slim
share/disc-cover/x-slim
share/examples/disc-cover/busy.png
share/examples/disc-cover/index.cgi
share/examples/disc-cover/offline.png
share/examples/disc-cover/online.cgi
share/examples/disc-cover/online.png
@dirrm share/examples/disc-cover
@dirrm share/disc-cover