ports/sysutils/cfengine3-legacy/files/patch-ad
Michael Haro 985047d96a Per the instructions of the software, cfengine is now dependent on BerkleyDB 3.
In fact, the only thing (that I can tell anyway) that uses the DB functions is
cfd. I'm guessing most people don't use it, especially since I haven't heard
any complaints about it.

Also, it was putting some of the docs in / (for some really strange reason).
That should be fixed too. They are now put in {PREFIX}/share/doc/cfengine,
depending on NOPORTSDOC (somewhat reverse logic than normal, but it made the
amount of changes less).

Finally, strip the binaries.

PR:		26189
Submitted by:	    maintainer
2001-04-02 10:21:20 +00:00

37 lines
1 KiB
Text

This moves the documentation out of /usr/local/share/cfengine/{doc,html} into
/usr/local/shared/doc/cfengine to keep it inline with the rest of the ports.
--- doc/Makefile.am.orig Fri Dec 1 19:24:39 2000
+++ doc/Makefile.am Tue Jan 23 02:07:04 2001
@@ -2,7 +2,7 @@
info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo
# Info used in building and installing HTML files
-htmldir = $(pkgdatadir)/html
+htmldir = $(datadir)/doc/cfengine
htmlfiles = cfengine-Reference.html cfengine-Tutorial.html
html_DATA = $(htmlfiles) cf-security.html
@@ -14,18 +14,19 @@
# then uncomment the reference to ps2
psfiles = $(ps1) # $(ps2)
-psdir = $(pkgdatadir)/doc
+psdir = $(datadir)/doc/cfengine
ps_DATA = $(psfiles)
# Make sure these get distributed with everything else.
EXTRA_DIST = \
texinfo.tex \
- cf-security.html \
+ $(html_DATA) \
+ $(ps_DATA) \
locks.latex \
paper1.latex \
paper2.latex
-SUFFIXES = html latex
+SUFFIXES = .html .latex
%.html : %.texinfo
${MAKEINFO} --html $<