ports/devel/clig/files/patch-makefile
Chris Hutchinson f755375b37 *: Move manpages to share/man
PR:		277322
2024-02-27 19:30:55 +03:00

39 lines
1.1 KiB
Text

--- makefile.orig 2004-08-04 02:56:37 UTC
+++ makefile
@@ -14,7 +14,7 @@
exec_prefix =$(prefix)
# Name of subdirectory to be used beyond DOCDIR and LIBDIR
-cligdir =clig-$(VERSION)
+cligdir =clig
@@ -31,16 +31,16 @@
# Directory in which to install manual entry for clig, the program
M1SUFFIX =1
-MAN1DIR =$(prefix)/man/man$(M1SUFFIX)
+MAN1DIR =$(prefix)/share/man/man$(M1SUFFIX)
# Directory in which to install manual entries for clig, the Tcl-package.
MnSUFFIX =n
-MANnDIR =$(prefix)/man/man$(MnSUFFIX)
+MANnDIR =$(prefix)/share/man/man$(MnSUFFIX)
# Directory were to put release notes, changeLogs, News etc.
-DOCDIR =$(prefix)/doc/$(cligdir)
+DOCDIR =$(prefix)/share/doc/$(cligdir)
-TCLSH=/usr/bin/tclsh
+TCLSH=/usr/local/bin/tclsh8.6
########################################################################
#
@@ -104,4 +104,5 @@
M1SUFFIX=$(M1SUFFIX) \
MANnDIR=$(build_root)$(MANnDIR) MnFILES="$(MnFILES.f)" \
MnSUFFIX=$(MnSUFFIX) \
- DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION)
+ DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION) \
+ NOPORTDOCS=${NOPORTDOCS}