summaryrefslogtreecommitdiff
path: root/sysutils/cdroot
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-08 15:06:28 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-08 15:06:28 +0000
commitbc8595b19c8e1730b9a3dac40252fea5c6334569 (patch)
tree2b7ded4f3b997cac10a101625d2e9f71d52e08d9 /sysutils/cdroot
parent- Support STAGE (diff)
Support STAGEDIR.
Diffstat (limited to 'sysutils/cdroot')
-rw-r--r--sysutils/cdroot/Makefile1
-rw-r--r--sysutils/cdroot/files/patch-Makefile13
-rw-r--r--sysutils/cdroot/pkg-plist14
3 files changed, 20 insertions, 8 deletions
diff --git a/sysutils/cdroot/Makefile b/sysutils/cdroot/Makefile
index 81e1d1603b59..789576426d3b 100644
--- a/sysutils/cdroot/Makefile
+++ b/sysutils/cdroot/Makefile
@@ -10,5 +10,4 @@ MASTER_SITE_SUBDIR= bsd
MAINTAINER= ports@FreeBSD.org
COMMENT= Scripts to automate setting up a bootable CD-ROM based FreeBSD system
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/cdroot/files/patch-Makefile b/sysutils/cdroot/files/patch-Makefile
new file mode 100644
index 000000000000..506fcdef82bb
--- /dev/null
+++ b/sysutils/cdroot/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2002-08-09 22:29:24.000000000 +0800
++++ Makefile 2013-11-08 21:22:16.000000000 +0800
+@@ -1,8 +1,8 @@
+ # $Id: Makefile,v 1.15 2002/08/09 14:29:24 bsd Exp $
+
+ PREFIX ?= /usr/local
+-BINDIR = ${PREFIX}/bin
+-LIBDIR = ${PREFIX}/share/cdroot
++BINDIR = ${DESTDIR}${PREFIX}/bin
++LIBDIR = ${DESTDIR}${PREFIX}/share/cdroot
+
+ all : mkcdroot.inst
+
diff --git a/sysutils/cdroot/pkg-plist b/sysutils/cdroot/pkg-plist
index e07581855965..c35f64309857 100644
--- a/sysutils/cdroot/pkg-plist
+++ b/sysutils/cdroot/pkg-plist
@@ -1,8 +1,8 @@
bin/mkcdroot
-share/cdroot/README
-share/cdroot/cdroot_initdisk
-share/cdroot/cdroot_inst
-share/cdroot/cdroot_mount
-share/cdroot/cdroot_site_overrides.sample
-share/cdroot/rc.replacement
-@dirrm share/cdroot
+%%DATADIR%%/README
+%%DATADIR%%/cdroot_initdisk
+%%DATADIR%%/cdroot_inst
+%%DATADIR%%/cdroot_mount
+%%DATADIR%%/cdroot_site_overrides.sample
+%%DATADIR%%/rc.replacement
+@dirrm %%DATADIR%%