Skip to content
Permalink
Browse files

Removed contents list.

Patched Makefile.in to fully support $(DESTDIR).

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2091 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Kevin Van Vechten
Kevin Van Vechten committed Feb 27, 2003
1 parent d07210b commit 8554933bfecfa1ce48a52ad2bb23336357ce7a7e
Showing with 41 additions and 84 deletions.
  1. +1 −3 emulators/bochs/Portfile
  2. +0 −81 emulators/bochs/contents
  3. +40 −0 emulators/bochs/files/patch-Makefile.in
@@ -20,7 +20,7 @@ master_sites http://unc.dl.sourceforge.net/sourceforge/bochs/ \
http://switch.dl.sourceforge.net/sourceforge/bochs/ \
http://cesnet.dl.sourceforge.net/sourceforge/bochs/
checksums md5 12e591b5cec2e0051e18605483f64678
patchfiles patch-cdrom_osx
patchfiles patch-Makefile.in patch-cdrom_osx
post-patch {
set path "${portpath}/${workdir}/${worksrcdir}"
set data_dir "${prefix}/bochs"
@@ -42,5 +42,3 @@ post-patch {
reinplace "s|romimage: file=bios/|romimage: file=${data_dir}/${version}/|g" "${path}/.bochsrc"
}
depends_run bin:wget:wget

include contents

This file was deleted.

@@ -0,0 +1,40 @@
--- Makefile.in.orig Thu Feb 27 13:16:44 2003
+++ Makefile.in Thu Feb 27 13:22:07 2003
@@ -52,7 +52,7 @@
DLXLINUX_TAR_URL=http://bochs.sourceforge.net/guestos/$(DLXLINUX_TAR)
DLXLINUX_ROMFILE=BIOS-bochs-latest
GUNZIP=gunzip
-WGET=wget
+WGET=curl -O
SED=sed
MKDIR=mkdir
RMDIR=rmdir
@@ -330,18 +330,18 @@
(cd dlxlinux; $(MV) bochsrc.txt bochsrc.txt.orig; $(SED) -e "s/1\.1\.2/$(VERSION)/g" -e 's,/usr/local,$(prefix),g' < bochsrc.txt.orig > bochsrc.txt; rm -f bochsrc.txt.orig)

install_dlx:
- $(RM) -rf $(BOCHSDIR)/dlxlinux
- cp -r dlxlinux $(BOCHSDIR)/dlxlinux
- $(CHMOD) 755 $(BOCHSDIR)/dlxlinux
- $(GZIP) $(BOCHSDIR)/dlxlinux/hd10meg.img
- $(CHMOD) 644 $(BOCHSDIR)/dlxlinux/*
- for i in bochs-dlx; do cp $(srcdir)/build/linux/$$i $(bindir)/$$i; $(CHMOD) 755 $(bindir)/$$i; done
+ $(RM) -rf $(DESTDIR)$(BOCHSDIR)/dlxlinux
+ cp -r dlxlinux $(DESTDIR)$(BOCHSDIR)/dlxlinux
+ $(CHMOD) 755 $(DESTDIR)$(BOCHSDIR)/dlxlinux
+ $(GZIP) $(DESTDIR)$(BOCHSDIR)/dlxlinux/hd10meg.img
+ $(CHMOD) 644 $(DESTDIR)$(BOCHSDIR)/dlxlinux/*
+ for i in bochs-dlx; do cp $(srcdir)/build/linux/$$i $(DESTDIR)$(bindir)/$$i; $(CHMOD) 755 $(DESTDIR)$(bindir)/$$i; done

uninstall::
- $(RM) -rf $(VERSIONDIR)
- $(RM) -rf $(BOCHSDIR)/dlxlinux
- $(RM) -rf $(BOCHSDIR)/latest
- -$(RMDIR) $(BOCHSDIR)
+ $(RM) -rf $(DESTDIR)$(VERSIONDIR)
+ $(RM) -rf $(DESTDIR)$(BOCHSDIR)/dlxlinux
+ $(RM) -rf $(DESTDIR)$(BOCHSDIR)/latest
+ -$(RMDIR) $(DESTDIR)$(BOCHSDIR)
for i in bochs bximage bochs-dlx $(BOCHS_SCRIPTS); do rm -f $(DESTDIR)$(bindir)/$$i; done
for i in $(MAN_PAGE_LIST); do $(RM) -f $(man1dir)/$$i.1; done

0 comments on commit 8554933

Please sign in to comment.
You can’t perform that action at this time.