diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-08 17:42:31 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-08 17:42:31 +0000 |
commit | 00f4313cae29b9d257c8a817ef1acb0ac7ee094f (patch) | |
tree | 776ac1b4ed2e1604a7f5cf36de3a5259cd5b59f1 /irc/slirc/files/patch-Makefile | |
parent | - Clarify license (diff) |
- Add staging support, allow it as normal user
- Remove leading article from COMMENT
- Convert to new LIB_DEPENDS format
- Remove Author line from pkg-descr
- Docdir safe, use DOCSDIR sub in pkg-plist
Notes
Notes:
svn path=/head/; revision=353339
Diffstat (limited to 'irc/slirc/files/patch-Makefile')
-rw-r--r-- | irc/slirc/files/patch-Makefile | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/irc/slirc/files/patch-Makefile b/irc/slirc/files/patch-Makefile index c5ad06f4d151..f8dac4eee99e 100644 --- a/irc/slirc/files/patch-Makefile +++ b/irc/slirc/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Tue Aug 24 05:42:02 1999 -+++ Makefile Sat Jan 6 08:50:21 2001 +--- Makefile.orig 1999-08-23 22:42:02.000000000 +0200 ++++ Makefile 2014-05-08 18:53:51.000000000 +0200 @@ -1,10 +1,10 @@ #!/bin/make -f @@ -14,16 +14,24 @@ pwd:=$(shell pwd) -@@ -45,9 +45,9 @@ - [ -d $(lib_dir) ] || mkdir -p $(lib_dir) - [ -d $(CFG_DIR) ] || mkdir -p $(CFG_DIR) - [ -d $(script_dir) ] || mkdir -p $(script_dir) +@@ -41,13 +41,13 @@ + ifeq ($(CFG_DIR),$(pwd)) + @echo "Running from local dir, no global install" + else +- [ -d $(bin_dir) ] || mkdir -p $(bin_dir) +- [ -d $(lib_dir) ] || mkdir -p $(lib_dir) +- [ -d $(CFG_DIR) ] || mkdir -p $(CFG_DIR) +- [ -d $(script_dir) ] || mkdir -p $(script_dir) - install -p -o root -g root -m755 slirc $(bin_dir) - install -p -o root -g root -m755 $(MODULES) $(CFG_DIR) - install -p -o root -g root -m644 scripts/*.sl $(script_dir) -+ install -p -o root -g wheel -m755 slirc $(bin_dir) -+ install -p -o root -g wheel -m755 $(MODULES) $(CFG_DIR) -+ install -p -o root -g wheel -m644 scripts/*.sl $(script_dir) ++ [ -d $(DESTDIR)$(bin_dir) ] || mkdir -p $(DESTDIR)$(bin_dir) ++ [ -d $(DESTDIR)$(lib_dir) ] || mkdir -p $(DESTDIR)$(lib_dir) ++ [ -d $(DESTDIR)$(CFG_DIR) ] || mkdir -p $(DESTDIR)$(CFG_DIR) ++ [ -d $(DESTDIR)$(script_dir) ] || mkdir -p $(DESTDIR)$(script_dir) ++ $(BSD_INSTALL_PROGRAM) slirc $(DESTDIR)$(bin_dir) ++ $(BSD_INSTALL_LIB) $(MODULES) $(DESTDIR)$(CFG_DIR) ++ $(BSD_INSTALL_SCRIPT) scripts/*.sl $(DESTDIR)$(script_dir) endif slirc: slirc.o lru.o slload.o windoze.o |