ports/irc/bopm/files/patch-Makefile.in
Tijl Coosemans 3a740b3d95 - Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Store pid file under /var/run instead of /var/log
- Add patch to fix DESTDIR problems
- Use @sample
- Replace pkg-deinstall and @exec with @dirrmtry
2014-09-08 18:10:14 +00:00

31 lines
1.1 KiB
Text

--- Makefile.in.orig 2007-05-15 20:54:14 UTC
+++ Makefile.in
@@ -194,7 +194,7 @@
target_alias = @target_alias@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
-data_DATA = bopm.conf.sample bopm.conf.blitzed
+data_DATA = bopm.conf.blitzed
EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample bopm.conf.blitzed network-bopm
all: all-recursive
@@ -636,14 +636,14 @@
install-data-local:
- @if test -f $(sysconfdir)/bopm.conf ; then \
+ @if test -f $(DESTDIR)$(sysconfdir)/bopm.conf ; then \
echo "$@ will not overwrite existing $(sysconfdir)/bopm.conf"; \
else \
- $(mkinstalldirs) $(sysconfdir); \
- echo "$(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf"; \
- $(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf; \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+ echo "$(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf.sample"; \
+ $(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf.sample; \
fi
- $(mkinstalldirs) $(localstatedir)
+ $(mkinstalldirs) $(DESTDIR)$(localstatedir)
uninstall-local:
@if test -f $(sysconfdir)/bopm.conf ; then \