aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cfengine3-legacy
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2006-10-09 21:23:49 +0800
committersergei <sergei@FreeBSD.org>2006-10-09 21:23:49 +0800
commitd14df5126be8f01af6ecc6f720e0a75e48077374 (patch)
tree42e076add7ca3b245f71080e72ca8bd8b914bcdc /sysutils/cfengine3-legacy
parent9f699cfb4ef36a050da98feace5105777b2f1cd1 (diff)
downloadfreebsd-ports-gnome-d14df5126be8f01af6ecc6f720e0a75e48077374.tar.gz
freebsd-ports-gnome-d14df5126be8f01af6ecc6f720e0a75e48077374.tar.zst
freebsd-ports-gnome-d14df5126be8f01af6ecc6f720e0a75e48077374.zip
- Add patches synced with sysutils/cfengine2 port
Forgotten by: cvs(1)
Diffstat (limited to 'sysutils/cfengine3-legacy')
-rw-r--r--sysutils/cfengine3-legacy/files/patch-Makefile.in17
-rw-r--r--sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in12
-rw-r--r--sysutils/cfengine3-legacy/files/patch-doc_Makefile.in89
-rw-r--r--sysutils/cfengine3-legacy/files/patch-inputs_Makefile.in12
4 files changed, 130 insertions, 0 deletions
diff --git a/sysutils/cfengine3-legacy/files/patch-Makefile.in b/sysutils/cfengine3-legacy/files/patch-Makefile.in
new file mode 100644
index 000000000000..cb72f3e3c0c5
--- /dev/null
+++ b/sysutils/cfengine3-legacy/files/patch-Makefile.in
@@ -0,0 +1,17 @@
+--- Makefile.in.orig Sat Oct 1 16:32:09 2005
++++ Makefile.in Fri Oct 7 10:36:51 2005
+@@ -201,8 +201,12 @@
+ @BUILD_DOC_TRUE@DOC_DIR = doc
+ SUBDIRS = pub src contrib inputs $(DOC_DIR)
+ EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README
+-docdir = $(pkgdatadir)
+-doc_DATA = README ChangeLog INSTALL NEWS
++docdir = $(prefix)/share/doc/cfengine
++.if defined(NOPORTDOCS)
++doc_DATA =
++.else
++doc_DATA = AUTHORS ChangeLog README TODO
++.endif
+
+ #
+ # Some basic clean ups
diff --git a/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in b/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in
new file mode 100644
index 000000000000..10e3fe8f1f12
--- /dev/null
+++ b/sysutils/cfengine3-legacy/files/patch-contrib_Makefile.in
@@ -0,0 +1,12 @@
+--- contrib/Makefile.in.orig Mon Sep 13 19:21:57 2004
++++ contrib/Makefile.in Mon Sep 13 19:22:23 2004
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(prefix)/share/examples/cfengine
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
+
diff --git a/sysutils/cfengine3-legacy/files/patch-doc_Makefile.in b/sysutils/cfengine3-legacy/files/patch-doc_Makefile.in
new file mode 100644
index 000000000000..dd3452bb8f36
--- /dev/null
+++ b/sysutils/cfengine3-legacy/files/patch-doc_Makefile.in
@@ -0,0 +1,89 @@
+--- doc/Makefile.in.orig Sat Oct 1 16:32:08 2005
++++ doc/Makefile.in Fri Oct 7 10:07:40 2005
+@@ -52,8 +52,12 @@
+ CONFIG_CLEAN_FILES =
+ SOURCES =
+ DIST_SOURCES =
++.if defined(NOPORTDOCS)
++INFO_DEPS =
++.else
+ INFO_DEPS = cfengine-Reference.info cfengine-Tutorial.info \
+ cfengine-Anomalies.info
++.endif
+ am__TEXINFO_TEX_DIR = $(srcdir)
+ DVIS = cfengine-Reference.dvi cfengine-Tutorial.dvi \
+ cfengine-Anomalies.dvi
+@@ -205,15 +209,23 @@
+
+ # Info used in building and installing HTML files
+ htmlfiles = $(info_TEXINFOS:.texinfo=.html)
+-htmldir = $(pkgdatadir)/html
++htmldir = $(docdir)
++.if defined(NOPORTDOCS)
++html_DATA =
++.else
+ html_DATA = $(htmlfiles)
++.endif
+
+ # Info used in building and installing Postscript files
+ psfiles = $(info_TEXINFOS:.texinfo=.ps)
+ pdffiles = $(info_TEXINFOS:.texinfo=.pdf)
+ dvifiles = $(info_TEXINFOS:.texinfo=.dvi)
+-docdir = $(pkgdatadir)/doc
++docdir = $(prefix)/share/doc/cfengine
++.if defined(NOPORTDOCS)
++doc_DATA =
++.else
+ doc_DATA = $(psfiles) $(pdffiles)
++.endif
+
+ # Make sure these get distributed with everything else.
+ EXTRA_DIST = cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 cfrun.8 cfservd.8 cfengine.8 cfshow.8 cfetoolcheck.8 cfetooldump.8 cfetoolimport.8 cfetoolupdate.8 cfetoolcreate.8 cfetoolgraph.8 cfetoolinfo.8 cfetoolcheck.8 cfetooldump.8 cfetoolimport.8 cfetoolupdate.8 cfetoolcreate.8 cfetoolgraph.8 cfetoolinfo.8 texinfo.tex $(htmlfiles) $(infofiles) $(psfiles) $(dvifiles) $(pdffiles)
+@@ -579,6 +591,7 @@
+ rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
+ done
+ install-docDATA: $(doc_DATA)
++.if !defined(NOPORTDOCS)
+ @$(NORMAL_INSTALL)
+ test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
+ @list='$(doc_DATA)'; for p in $$list; do \
+@@ -587,6 +600,7 @@
+ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
+ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
+ done
++.endif
+
+ uninstall-docDATA:
+ @$(NORMAL_UNINSTALL)
+@@ -596,6 +610,7 @@
+ rm -f "$(DESTDIR)$(docdir)/$$f"; \
+ done
+ install-htmlDATA: $(html_DATA)
++.if !defined(NOPORTDOCS)
+ @$(NORMAL_INSTALL)
+ test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
+ @list='$(html_DATA)'; for p in $$list; do \
+@@ -604,6 +619,7 @@
+ echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
+ done
++.endif
+
+ uninstall-htmlDATA:
+ @$(NORMAL_UNINSTALL)
+@@ -712,6 +728,7 @@
+ install-info: install-info-am
+
+ install-info-am: $(INFO_DEPS)
++.if !defined(NOPORTDOCS)
+ @$(NORMAL_INSTALL)
+ test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+@@ -741,6 +758,7 @@
+ install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
+ done; \
+ else : ; fi
++.endif
+ install-man: install-man8
+
+ installcheck-am:
diff --git a/sysutils/cfengine3-legacy/files/patch-inputs_Makefile.in b/sysutils/cfengine3-legacy/files/patch-inputs_Makefile.in
new file mode 100644
index 000000000000..39bd1e37b49e
--- /dev/null
+++ b/sysutils/cfengine3-legacy/files/patch-inputs_Makefile.in
@@ -0,0 +1,12 @@
+--- inputs/Makefile.in.orig Mon Sep 13 19:25:42 2004
++++ inputs/Makefile.in Mon Sep 13 19:25:57 2004
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(prefix)/share/examples/cfengine
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
+