aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-08 11:09:09 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-08 11:09:09 +0000
commit3b47b7eb6e1dac57c1cdf05d8c7c45d360f3c64c (patch)
tree6e78f7a1324b33819500498c0f76648da93e1aa2 /irc
parent85d2ed3167d0559ea20fde9e03309b0b40e669e7 (diff)
downloadports-3b47b7eb6e1dac57c1cdf05d8c7c45d360f3c64c.tar.gz
ports-3b47b7eb6e1dac57c1cdf05d8c7c45d360f3c64c.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/ngircd/files/patch-doc::Makefile.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/irc/ngircd/files/patch-doc::Makefile.in b/irc/ngircd/files/patch-doc::Makefile.in
index 7d159965a2f6..fa65b15dfbbc 100644
--- a/irc/ngircd/files/patch-doc::Makefile.in
+++ b/irc/ngircd/files/patch-doc::Makefile.in
@@ -1,5 +1,5 @@
---- doc/Makefile.in.orig Mon Dec 11 18:23:09 2006
-+++ doc/Makefile.in Mon Dec 11 18:24:35 2006
+--- ./doc/Makefile.in.orig 2006-12-17 16:07:28.000000000 +0200
++++ ./doc/Makefile.in 2009-04-08 14:05:21.323301473 +0300
@@ -159,12 +159,10 @@
target_os = @target_os@
target_vendor = @target_vendor@
@@ -15,7 +15,7 @@
all: all-recursive
-@@ -475,8 +473,8 @@
+@@ -475,13 +473,9 @@
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
@@ -24,5 +24,10 @@
+ if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf.sample ]; then \
+ $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf.sample; \
fi
- $(mkinstalldirs) $(DESTDIR)$(docdir)
- for f in $(documents); do \
+- $(mkinstalldirs) $(DESTDIR)$(docdir)
+- for f in $(documents); do \
+- $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
+- done
+
+ uninstall-hook:
+ rm -rf $(DESTDIR)$(docdir)