ports/textproc/highlight/files/patch-makefile
2021-01-29 11:14:48 +00:00

35 lines
974 B
Text

--- makefile.orig 2020-12-21 10:56:19 UTC
+++ makefile
@@ -4,10 +4,10 @@
# Installation directories:
# Destination directory for installation (intended for packagers)
-DESTDIR =
+DESTDIR ?=
# Root directory for final installation
-PREFIX = /usr
+PREFIX ?= /usr
# Location of the highlight data files:
data_dir = ${PREFIX}/share/highlight/
@@ -16,7 +16,7 @@ data_dir = ${PREFIX}/share/highlight/
bin_dir = ${PREFIX}/bin/
# Location of the highlight man pages:
-man_dir = ${PREFIX}/share/man/
+man_dir = ${PREFIX}/man/
# Location of the highlight documentation:
doc_dir = ${PREFIX}/share/doc/highlight/
@@ -25,8 +25,8 @@ doc_dir = ${PREFIX}/share/doc/highlight/
examples_dir = ${doc_dir}extras/
# Location of the highlight config files:
-conf_dir = /etc/highlight/
-#conf_dir = ${PREFIX}/etc/highlight/
+#conf_dir = /etc/highlight/
+conf_dir = ${PREFIX}/etc/highlight/
# Location of additional gui files
desktop_apps = ${PREFIX}/share/applications/