diff options
author | agc <agc> | 2001-10-25 20:50:38 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-25 20:50:38 +0000 |
commit | a4a8481c710a4ec6d5a7105156610144646562a6 (patch) | |
tree | 2039eca7a406364ff2875a09e79e7677c388cca9 /emulators | |
parent | 91c5404fd38c311a80fd610037f68dc397d69c25 (diff) | |
download | pkgsrc-a4a8481c710a4ec6d5a7105156610144646562a6.tar.gz |
Move configuration process from a separate script file to a standard
package Makefile target.
Provide a Makefile.inc during the patch stage
Remove now unnecessary configure script
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/pcemu/Makefile | 7 | ||||
-rw-r--r-- | emulators/pcemu/distinfo | 3 | ||||
-rw-r--r-- | emulators/pcemu/patches/patch-ag | 10 | ||||
-rw-r--r-- | emulators/pcemu/scripts/configure | 28 |
4 files changed, 18 insertions, 30 deletions
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile index 9616f64b439..967966ddc9e 100644 --- a/emulators/pcemu/Makefile +++ b/emulators/pcemu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 18:38:21 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2001/10/25 20:50:38 agc Exp $ # FreeBSD Id: Makefile,v 1.13 1998/12/01 09:49:33 asami Exp # @@ -15,6 +15,11 @@ COMMENT= 8086 PC emulator, by David Hedley USE_X11= yes MAKE_ENV+= FILESDIR=${FILESDIR} +do-configure: + cd ${WRKSRC}; \ + ${MKDIR} ${WRKSRC}/bootstrap; \ + sh < ${FILESDIR}/bootstrap.shar + post-configure: ${SED} -e 's|/usr/local|${PREFIX}|g' < ${WRKSRC}/bootstrap/help.txt > \ ${WRKSRC}/foo diff --git a/emulators/pcemu/distinfo b/emulators/pcemu/distinfo index c69f0d4e465..3f45c944e28 100644 --- a/emulators/pcemu/distinfo +++ b/emulators/pcemu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 10:49:56 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/10/25 20:50:39 agc Exp $ SHA1 (pcemu1.01alpha.tar.gz) = 4c0cf9b3b197e890fbc85dc85ca0d7c75eb145b3 Size (pcemu1.01alpha.tar.gz) = 316257 bytes @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 1e1f9ca92dc6c1c09ddcb8c77f4536a02c752f6e SHA1 (patch-ad) = 7adb1245e8bb9369b50cc1339337908660b8ebfb SHA1 (patch-ae) = 953a1aed49026acab609b8944424bdb9ba387de0 SHA1 (patch-af) = 84f85b5d74a4c27203e0a3183d89af42504ed89f +SHA1 (patch-ag) = 95ee8354783af38e43eb966a991c7a87823b7ce7 diff --git a/emulators/pcemu/patches/patch-ag b/emulators/pcemu/patches/patch-ag new file mode 100644 index 00000000000..c69a5436e40 --- /dev/null +++ b/emulators/pcemu/patches/patch-ag @@ -0,0 +1,10 @@ +$NetBSD: patch-ag,v 1.1 2001/10/25 20:50:39 agc Exp $ + +--- /dev/null Thu Oct 25 21:39:38 2001 ++++ Makefile.inc Thu Oct 25 21:42:36 2001 +@@ -0,0 +1,5 @@ ++# ++# Makefile.inc ++# ++ ++LOCALPREFIX = ${PREFIX} diff --git a/emulators/pcemu/scripts/configure b/emulators/pcemu/scripts/configure deleted file mode 100644 index 2db8d0a1167..00000000000 --- a/emulators/pcemu/scripts/configure +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# $NetBSD: configure,v 1.1.1.1 1999/03/31 06:34:07 garbled Exp $ -# FreeBSD Id: configure,v 1.1.1.1 1995/03/27 21:35:21 joerg Exp -# -# Author: Jörg Wunsch <joerg@FreeBSD.org> -# Date of creation: Mar 27, 1995 -# - -cd ${WRKSRC} -mkdir ${WRKSRC}/bootstrap -sh < ${FILESDIR}/bootstrap.shar - -# create a Makefile.inc to pass the local prefix down to -# the build stage: - -cat > ${WRKSRC}/Makefile.inc <<*EOF* -# -# Makefile.inc -# -# This file has been created by the "configure" script; DO NOT EDIT. -# -# Edit the port's Makefile \${PREFIX} variable should you wish to -# override this, and reconfigure. -# - -LOCALPREFIX = ${PREFIX} -*EOF* |