ports/textproc/docbook-to-man/files/patch-Instant__Imakefile
Sunpoet Po-Chuan Hsieh d3287ffe96 Convert to options helper
- Update MASTER_SITES
- Update header of patch files
- Update WWW
- Take maintainership
2020-02-04 17:53:31 +00:00

29 lines
790 B
Text

--- Instant/Imakefile.orig 1996-06-17 03:50:29 UTC
+++ Instant/Imakefile
@@ -1,14 +1,18 @@
#define IHaveSubdirs
#define PassCDebugFlags
+#undef BuildInstallHtmlManPage
+#define BuildInstallHtmlManPage(x,y,z) /**/
SUBDIRS = tptregexp
-ROOT = /usr/local
+PREFIX ?= /usr/local
+ROOT = ${PREFIX}
+MANPATH = ${ROOT}/man
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 +23,4 @@ OBJS = main.o util.o info.o translate.o traninit.o tra
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
-ComplexProgramTarget(instant)
+ComplexProgramTarget(oinstant)