mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
e36affa431
commit
4dfc4a80a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359450
@ -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
|
||||
|
27
sysutils/livecd/files/patch-Makefile
Normal file
27
sysutils/livecd/files/patch-Makefile
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user