diff options
author | jmz <jmz@FreeBSD.org> | 2007-07-06 19:00:06 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2007-07-06 19:00:06 +0800 |
commit | 03fad2413f818c125d306b4736031268a5a68e4d (patch) | |
tree | f96533ed8ae8a97d870a868842e44fc5238e15ef /audio | |
parent | 7600ae86ccb5ca083fb1f3ce168cb70c90535c35 (diff) | |
download | freebsd-ports-gnome-03fad2413f818c125d306b4736031268a5a68e4d.tar.gz freebsd-ports-gnome-03fad2413f818c125d306b4736031268a5a68e4d.tar.zst freebsd-ports-gnome-03fad2413f818c125d306b4736031268a5a68e4d.zip |
Update to TCL/TK 8.4
PR: ports/110582
Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xcd/Makefile | 24 | ||||
-rw-r--r-- | audio/xcd/scripts/configure | 15 |
2 files changed, 20 insertions, 19 deletions
diff --git a/audio/xcd/Makefile b/audio/xcd/Makefile index 3b3d2ed44989..ba0156157f87 100644 --- a/audio/xcd/Makefile +++ b/audio/xcd/Makefile @@ -7,17 +7,33 @@ PORTNAME= xcd PORTVERSION= 1.7 -PORTREVISION= 1 -CATEGORIES= audio tk82 +PORTREVISION= 2 +CATEGORIES= audio tk84 MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jmz MAINTAINER= jmz@FreeBSD.org COMMENT= A Tcl/Tk CD player -RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 - +USE_TK= yes WRKSRC= ${WRKDIR}/xcd MAN1= xcd.1 +.if !defined(WITH_CDROM_PLAYER) +WITH_CDROM_PLAYER= acd0 +.endif + +pre-extract: + @${ECHO_CMD} "" + @${ECHO_CMD} "You can define WITH_CDROM_PLAYER to set the default CD/DVD player" + @${ECHO_CMD} "Default: acd0" + @${ECHO_CMD} "" + @${ECHO_CMD} "Use the CDPLAYER environment variable to override it." + @${ECHO_CMD} "" + +post-patch: + @${REINPLACE_CMD} 's|cd0c|${WITH_CDROM_PLAYER}|' ${WRKSRC}/cdplayer.cc + @${REINPLACE_CMD} 's|/usr/local/bin/wish8.0|${WISH}|' ${WRKSRC}/xcd.in + @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile + .include <bsd.port.mk> diff --git a/audio/xcd/scripts/configure b/audio/xcd/scripts/configure deleted file mode 100644 index 862c73461b5c..000000000000 --- a/audio/xcd/scripts/configure +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -cd $WRKSRC || exit 1; - -cat >> Makefile << END - -BINDIR = $PREFIX/bin -CDDIR = $PREFIX/lib/xcd -MANDIR = $PREFIX/man/man1 - -END - -mv xcd.in xcd.in~ -sed -e 's/wish8\.0/wish8.2/' < xcd.in~ > xcd.in -exit 0; |