ports/textproc/docbook-to-man/files/patch-Instant__Imakefile
Gleb Popov e427ab10bf *: Move manpages to share/man for imake ports.
Approved by:	portmgr (blanket)
2024-02-04 22:13:55 +03:00

28 lines
737 B
Text

--- Instant/Imakefile.orig 1996-06-17 03:50:29 UTC
+++ Instant/Imakefile
@@ -1,14 +1,17 @@
#define IHaveSubdirs
#define PassCDebugFlags
+#undef BuildInstallHtmlManPage
+#define BuildInstallHtmlManPage(x,y,z) /**/
SUBDIRS = tptregexp
-ROOT = /usr/local
+PREFIX ?= /usr/local
+ROOT = ${PREFIX}
BINDIR = $(ROOT)/bin
INCLUDES = -Itptregexp
LOCAL_LIBRARIES = -Ltptregexp -ltptregexp
-TPTLIB = $(ROOT)/lib/tpt
+TPTLIB = $(ROOT)/share/sgml/otranspec
DEFINES = -DDEF_TPT_LIB=\"$(TPTLIB)\"
SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c \
@@ -19,4 +22,4 @@ DependSubdirs($(SUBDIRS))
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
-ComplexProgramTarget(instant)
+ComplexProgramTarget(oinstant)