forked from Lainports/freebsd-ports
a subdirectory of another, already installed system. It doesn't require an installation CD, just access to a Debian repository. In FreeBSD, you can use debootstrap to install Debian GNU/kFreeBSD into a subdirectory of your existing FreeBSD installation (i386 or amd64) and then run Debian GNU/kFreeBSD (i386 or amd64) in a jail or chroot. WWW: http://wiki.debian.org/Debootstrap
40 lines
1 KiB
Text
40 lines
1 KiB
Text
--- Makefile.orig 2011-01-20 23:53:15.000000000 +0100
|
|
+++ Makefile 2011-02-26 21:33:51.766311773 +0100
|
|
@@ -3,31 +3,23 @@
|
|
|
|
MAKEDEV := /sbin/MAKEDEV
|
|
|
|
-ifneq ($(shell uname),GNU)
|
|
-all: devices.tar.gz
|
|
-else
|
|
all:
|
|
-endif
|
|
|
|
clean:
|
|
rm -f devices.tar.gz
|
|
rm -rf dev
|
|
|
|
-DSDIR=$(DESTDIR)/usr/share/debootstrap
|
|
+DSDIR=$(PREFIX)/share/debootstrap
|
|
install:
|
|
mkdir -p $(DSDIR)/scripts
|
|
- mkdir -p $(DESTDIR)/usr/sbin
|
|
+ mkdir -p $(PREFIX)/sbin
|
|
|
|
cp -a scripts/* $(DSDIR)/scripts/
|
|
- install -o root -g root -m 0644 functions $(DSDIR)/
|
|
+ install -o root -g wheel -m 0644 functions $(DSDIR)/
|
|
|
|
- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
|
|
- chown root:root $(DESTDIR)/usr/sbin/debootstrap
|
|
- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
|
|
-
|
|
-ifneq ($(shell uname),GNU)
|
|
- install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
|
|
-endif
|
|
+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(PREFIX)/sbin/debootstrap
|
|
+ chown root:wheel $(PREFIX)/sbin/debootstrap
|
|
+ chmod 0755 $(PREFIX)/sbin/debootstrap
|
|
|
|
devices.tar.gz:
|
|
rm -rf dev
|