summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-10-25 17:26:01 +0000
committeragc <agc@pkgsrc.org>2001-10-25 17:26:01 +0000
commit47438e09c65e768c7134c99871f68e0135c15d4f (patch)
treed9306753c130cdb7395a55120a5209fc7695fdf3 /audio
parentc5e50632fc85b9bf22f6a5cd8fb0b08ef6b14ef0 (diff)
downloadpkgsrc-47438e09c65e768c7134c99871f68e0135c15d4f.tar.gz
Having a 3-line script for the pre-configure stage is overkill - move
the commands into the package Makefile as a pre-configure target.
Diffstat (limited to 'audio')
-rw-r--r--audio/xcdplayer/Makefile7
-rw-r--r--audio/xcdplayer/scripts/pre-configure8
2 files changed, 6 insertions, 9 deletions
diff --git a/audio/xcdplayer/Makefile b/audio/xcdplayer/Makefile
index 3baeeaecdaa..23465f8f8fa 100644
--- a/audio/xcdplayer/Makefile
+++ b/audio/xcdplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/08/22 17:38:56 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2001/10/25 17:26:01 agc Exp $
# FreeBSD Id: Makefile,v 1.8 1997/04/01 23:08:24 swallace Exp
#
@@ -13,4 +13,9 @@ COMMENT= CD player for X
USE_IMAKE= yes
+pre-configure:
+ ${CP} ${FILESDIR}/cdrom_freebsd.c ${WRKSRC}
+ ${CP} ${FILESDIR}/cdrom_freebsd.h ${WRKSRC}
+ ${CP} ${WRKSRC}/xcdplayer.1 ${WRKSRC}/xcdplayer.man
+
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xcdplayer/scripts/pre-configure b/audio/xcdplayer/scripts/pre-configure
deleted file mode 100644
index 296996a3cf4..00000000000
--- a/audio/xcdplayer/scripts/pre-configure
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# $Id: pre-configure,v 1.3 1998/09/22 06:11:35 garbled Exp $
-#
-
-cp ${CURDIR}/files/cdrom_freebsd.c ${WRKSRC}
-cp ${CURDIR}/files/cdrom_freebsd.h ${WRKSRC}
-cp ${WRKSRC}/xcdplayer.1 ${WRKSRC}/xcdplayer.man