summaryrefslogtreecommitdiff
path: root/net-im/ejabberd/files/patch-src-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/ejabberd/files/patch-src-Makefile.in')
-rw-r--r--net-im/ejabberd/files/patch-src-Makefile.in72
1 files changed, 0 insertions, 72 deletions
diff --git a/net-im/ejabberd/files/patch-src-Makefile.in b/net-im/ejabberd/files/patch-src-Makefile.in
deleted file mode 100644
index da041681cf7c..000000000000
--- a/net-im/ejabberd/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,72 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.in.orig
-+++ Makefile.in
-@@ -95,7 +95,7 @@
- SBINDIR = $(DESTDIR)@sbindir@
-
- # /lib/ejabberd/
--EJABBERDDIR = $(DESTDIR)@libdir@/ejabberd
-+EJABBERDDIR = $(DESTDIR)@libdir@/erlang/lib/ejabberd-$(PORTVERSION)
-
- # /share/doc/ejabberd
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
-@@ -121,7 +121,7 @@
- MSGSDIR = $(PRIVDIR)/msgs
-
- # /var/lib/ejabberd/
--SPOOLDIR = $(DESTDIR)@localstatedir@/lib/ejabberd
-+SPOOLDIR = $(DESTDIR)@localstatedir@/spool/ejabberd
-
- # /var/lock/ejabberdctl
- CTLLOCKDIR = $(DESTDIR)@localstatedir@/lock/ejabberdctl
-@@ -184,25 +184,22 @@
- #
- # Configuration files
- install -d -m 750 $(G_USER) $(ETCDIR)
-- [ -f $(ETCDIR)/ejabberd.cfg ] \
-- && install -b -m 640 $(G_USER) ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg-new \
-- || install -b -m 640 $(G_USER) ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg
-+ install -m 640 $(G_USER) ejabberd.cfg.example $(ETCDIR)
- sed -e "s*@rootdir@*@prefix@*" \
- -e "s*@installuser@*@INSTALLUSER@*" \
- -e "s*@LIBDIR@*@libdir@*" \
- -e "s*@SYSCONFDIR@*@sysconfdir@*" \
- -e "s*@LOCALSTATEDIR@*@localstatedir@*" \
- -e "s*@DOCDIR@*@docdir@*" \
-- -e "s*@erl@*@ERL@*" ejabberdctl.template \
-- > ejabberdctl.example
-- [ -f $(ETCDIR)/ejabberdctl.cfg ] \
-- && install -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg-new \
-- || install -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg
-- install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc
-+ -e "s*@erl@*@ERL@*" \
-+ -e "s*lib/erlang/lib/ejabberd*lib/erlang/lib/ejabberd-$(PORTVERSION)*" \
-+ ejabberdctl.template > ejabberdctl.example
-+ install -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)
-+ install -m 640 $(G_USER) inetrc $(ETCDIR)/inetrc.example
- #
- # Administration script
- [ -d $(SBINDIR) ] || install -d -m 755 $(SBINDIR)
-- install -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
-+ install -m 555 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
- #
- # Init script
- sed -e "s*@ctlscriptpath@*$(SBINDIR)*" \
-@@ -260,6 +257,7 @@
- chmod -R 750 $(LOGDIR)
- #
- # Documentation
-+ifndef NOPORTDOCS
- install -d $(DOCDIR)
- install -m 644 ../doc/dev.html $(DOCDIR)
- install -m 644 ../doc/guide.html $(DOCDIR)
-@@ -269,6 +267,7 @@
- && install -m 644 ../doc/guide.pdf $(DOCDIR) \
- || echo "No ../doc/guide.pdf was built"
- install -m 644 ../COPYING $(DOCDIR)
-+endif
-
- uninstall: uninstall-binary
-