openbsd-ports/textproc/highlight/patches/patch-makefile
jasper 09433c35a9 import highlight 2.6.1
Highlight converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX and XML
files with syntax highlighting. Its language definitions, colour themes
and indentation schemes are customizable.

tweak & ok ajacoutot@
2007-07-05 09:58:32 +00:00

21 lines
595 B
Plaintext

$OpenBSD: patch-makefile,v 1.1.1.1 2007/07/05 09:58:32 jasper Exp $
--- makefile.orig Tue Jul 3 23:14:38 2007
+++ makefile Tue Jul 3 23:15:02 2007
@@ -7,7 +7,6 @@
DESTDIR =
# Root directory for final installation
-PREFIX = /usr
# Location of the highlight data files:
data_dir = ${PREFIX}/share/highlight/
@@ -25,7 +24,7 @@ doc_dir = ${PREFIX}/share/doc/highlight/
examples_dir = ${PREFIX}/share/doc/highlight/examples/
# Location of the highlight config files:
-conf_dir = ${PREFIX}/etc/highlight/
+conf_dir = !!SYSCONFDIR!!/highlight/
# Commands:
INSTALL_DATA=install -m644