mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
709b9a6f18
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
123 lines
5.1 KiB
Diff
123 lines
5.1 KiB
Diff
diff -Naur inform-6.35-r2/Makefile inform-6.35-r2.patched/Makefile
|
|
--- inform-6.35-r2/Makefile 2021-06-22 00:31:25.000000000 -0400
|
|
+++ inform-6.35-r2.patched/Makefile 2021-09-01 15:38:28.641094355 -0400
|
|
@@ -155,7 +155,7 @@
|
|
strip $(BINNAME)
|
|
|
|
install-compiler: $(BINNAME)
|
|
- install -d -m $(DIRPERM) $(DESTDIR)$(BINDIR)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
|
|
install -c -m $(BINPERM) $(BINNAME) $(DESTDIR)$(BINDIR)
|
|
|
|
#########################################################
|
|
@@ -172,24 +172,23 @@
|
|
install-stdlib-all: install-stdlib install-stdinc install-stddemos install-stdtutor
|
|
|
|
install-stdlib:
|
|
- install -d -m $(DIRPERM) $(STDLIB)
|
|
- install -c -m $(FILEPERM) $(wildcard ${STDSRC}/*) $(STDLIB)
|
|
- @./fixlinks.sh $(STDLIB) $(STDLIB_LINKS)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDLIB)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${STDSRC}/*) $(DESTDIR)$(STDLIB)
|
|
@echo "** Done installing Standard Library."
|
|
|
|
install-stdinc:
|
|
- install -d -m $(DIRPERM) $(STDINC)
|
|
- install -c -m $(FILEPERM) $(wildcard ${STDINC_SRC}/*) $(STDINC)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDINC)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${STDINC_SRC}/*) $(DESTDIR)$(STDINC)
|
|
@echo "** Done installing Standard Library includes."
|
|
|
|
install-stddemos: stddemos
|
|
- install -d -m $(DIRPERM) $(STDDEMO)
|
|
- install -c -m $(FILEPERM) $(wildcard ${STDDEMOS_SRC}/*) $(STDDEMO)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDDEMO)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${STDDEMOS_SRC}/*) $(DESTDIR)$(STDDEMO)
|
|
@echo "** Done installing Standard Library demos."
|
|
|
|
install-stdtutor: stdtutor
|
|
- install -d -m $(DIRPERM) $(STDTUTOR)
|
|
- install -c -m $(FILEPERM) $(wildcard ${STDTUTOR_SRC}/*) $(STDTUTOR)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDTUTOR)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${STDTUTOR_SRC}/*) $(DESTDIR)$(STDTUTOR)
|
|
@echo "** Done installing Standard Library tutorials."
|
|
|
|
|
|
@@ -206,38 +205,40 @@
|
|
|
|
install-punywrapper:
|
|
sed 's,^LIBPATH.*,LIBPATH=${SHAREDIR},g' $(PUNYINFORMSH) > $(PUNYINFORMSH)-scratch
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
|
|
install -c -m $(BINPERM) $(PUNYINFORMSH)-scratch $(DESTDIR)$(BINDIR)/$(PUNYINFORMSH)
|
|
cd $(DESTDIR)$(BINDIR) ; ln -sf $(PUNYINFORMSH) $(PUNYINFORM)
|
|
rm -f $(PUNYINFORMSH)-scratch
|
|
|
|
install-punylib:
|
|
- install -d -m $(DIRPERM) $(PUNYLIB)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYLIB_SRC}/*) $(PUNYLIB)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYLIB)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYLIB_SRC}/*) $(DESTDIR)$(PUNYLIB)
|
|
@echo "** Done installing PunyInform Library."
|
|
|
|
install-punyhowto:
|
|
- install -d -m $(DIRPERM) $(PUNYHOWTO)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYHOWTO_SRC}/*) $(PUNYHOWTO)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYHOWTO)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYHOWTO_SRC}/*) $(DESTDIR)$(PUNYHOWTO)
|
|
|
|
install-punytests:
|
|
- install -d -m $(DIRPERM) $(PUNYTESTS)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYTESTS_SRC}/*) $(PUNYTESTS)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYTESTS)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYTESTS_SRC}/*) $(DESTDIR)$(PUNYTESTS)
|
|
|
|
install-punydocs:
|
|
- install -d -m $(DIRPERM) $(PUNYDOCS)
|
|
- install -d -m $(DIRPERM) $(PUNYDOCS1)
|
|
- install -d -m $(DIRPERM) $(PUNYDOCS2)
|
|
- install -d -m $(DIRPERM) $(PUNYDOCS3)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_SRC}/*pdf) $(PUNYDOCS)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR1}/*) $(PUNYDOCS1)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR2}/*) $(PUNYDOCS2)
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR3}/*) $(PUNYDOCS3)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS1)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS2)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS3)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_SRC}/*pdf) $(DESTDIR)$(PUNYDOCS)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR1}/*) $(DESTDIR)$(PUNYDOCS1)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR2}/*) $(DESTDIR)$(PUNYDOCS2)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR3}/*) $(DESTDIR)$(PUNYDOCS3)
|
|
|
|
install-punymisc:
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNY)
|
|
for file in $(PUNYMISC_FILES); do \
|
|
- install -c -m $(FILEPERM) $(PUNYSRC)/$$file $(PUNY); \
|
|
+ install -c -m $(FILEPERM) $(PUNYSRC)/$$file $(DESTDIR)$(PUNY); \
|
|
done
|
|
- install -c -m $(FILEPERM) $(wildcard ${PUNYSRC}/*.inf) $(PUNY)
|
|
+ install -c -m $(FILEPERM) $(wildcard ${PUNYSRC}/*.inf) $(DESTDIR)$(PUNY)
|
|
|
|
install-puny: install-punylib install-punywrapper install-punymisc install-punyhowto install-punytests install-punydocs
|
|
|
|
@@ -246,16 +247,17 @@
|
|
# Installing everything else
|
|
|
|
install-manual:
|
|
- install -d -m $(DIRPERM) $(MANDIR)
|
|
- install -c -m $(FILEPERM) $(MANPAGE) $(MANDIR)
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(MANDIR)
|
|
+ install -c -m $(FILEPERM) $(MANPAGE) $(DESTDIR)$(MANDIR)
|
|
|
|
install-contrib:
|
|
+ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
|
|
install -c -m $(BINPERM) contrib/pblorb.pl $(DESTDIR)$(BINDIR)
|
|
install -c -m $(BINPERM) contrib/scanblorb.pl $(DESTDIR)$(BINDIR)
|
|
cd $(DESTDIR)$(BINDIR) ; ln -sf pblorb.pl pblorb
|
|
cd $(DESTDIR)$(BINDIR) ; ln -sf scanblorb.pl scanblorb
|
|
|
|
-install-strip: strip install
|
|
+install-strip: all strip install
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(BINDIR)/$(BINNAME)
|