svn commit: r359450 - in head/sysutils/livecd: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jun 27 04:13:12 UTC 2014
Author: vanilla
Date: Fri Jun 27 04:13:11 2014
New Revision: 359450
URL: http://svnweb.freebsd.org/changeset/ports/359450
QAT: https://qat.redports.org/buildarchive/r359450/
Log:
Stagify.
Approved by: portmgr@ (blanket approval)
Added:
head/sysutils/livecd/files/patch-Makefile (contents, props changed)
Modified:
head/sysutils/livecd/Makefile
Modified: head/sysutils/livecd/Makefile
==============================================================================
--- head/sysutils/livecd/Makefile Fri Jun 27 03:57:17 2014 (r359449)
+++ head/sysutils/livecd/Makefile Fri Jun 27 04:13:11 2014 (r359450)
@@ -16,7 +16,6 @@ NO_BUILD= yes
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E -e 's|/usr/local/|${PREFIX}|' \
${WRKSRC}/Makefile
Added: head/sysutils/livecd/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/livecd/files/patch-Makefile Fri Jun 27 04:13:11 2014 (r359450)
@@ -0,0 +1,27 @@
+--- Makefile.orig 2014-06-27 12:10:03.585250543 +0800
++++ Makefile 2014-06-27 12:10:35.801266135 +0800
+@@ -7,16 +7,16 @@ INSTALL_SCRIPT?= install -c -o root -g w
+ SUBDIRS= files lang
+
+ install:
+- @rm -rf ${PREFIX}/livecd/
+- @mkdir -p ${PREFIX}/livecd
+- @${INSTALL_DATA} README* CHANGELOG.TXT ${PREFIX}/livecd/
+- @${INSTALL_SCRIPT} livecd.sh ${PREFIX}/livecd/
++ @rm -rf $(DESTDIR)${PREFIX}/livecd/
++ @mkdir -p $(DESTDIR)${PREFIX}/livecd
++ @${INSTALL_DATA} README* CHANGELOG.TXT $(DESTDIR)${PREFIX}/livecd/
++ @${INSTALL_SCRIPT} livecd.sh $(DESTDIR)${PREFIX}/livecd/
+ @for subdir in ${SUBDIRS} ; do \
+- mkdir -p ${PREFIX}/livecd/$${subdir} ; \
+- ${INSTALL_DATA} $${subdir}/* ${PREFIX}/livecd/$${subdir}/ ; \
++ mkdir -p $(DESTDIR)${PREFIX}/livecd/$${subdir} ; \
++ ${INSTALL_DATA} $${subdir}/* $(DESTDIR)${PREFIX}/livecd/$${subdir}/ ; \
+ done
+- @mkdir -p ${PREFIX}/livecd/scripts
+- @${INSTALL_SCRIPT} scripts/* ${PREFIX}/livecd/scripts/
++ @mkdir -p $(DESTDIR)${PREFIX}/livecd/scripts
++ @${INSTALL_SCRIPT} scripts/* $(DESTDIR)${PREFIX}/livecd/scripts/
+
+ deinstall:
+ @rm -rf ${PREFIX}/livecd/
More information about the svn-ports-all
mailing list