openbsd-ports/converters/html2wml/patches/patch-Makefile
2002-07-15 04:00:40 +00:00

32 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.3 2002/07/15 04:00:40 shell Exp $
--- Makefile.orig Mon Feb 25 07:21:35 2002
+++ Makefile Mon Jul 15 11:56:20 2002
@@ -1,6 +1,6 @@
# =========================================================================== #
# Configuration
-PREFIX=/usr/local
+#PREFIX=/usr/local
CGIDIR=/home/httpd/cgi-bin
# =========================================================================== #
@@ -12,7 +12,7 @@ VERSION=0.4.9
# Standard subdirectories locations
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man
-DOCDIR=$(PREFIX)/doc/html2wml
+DOCDIR=$(PREFIX)/share/doc/html2wml
MAN1DIR=$(MANDIR)/man1
@@ -34,8 +34,8 @@ install: check-config directories
install -m 555 html2wml.cgi $(BINDIR)/html2wml
install -m 444 doc/html2wml.man $(MAN1DIR)/html2wml.1
install -m 444 COPYING INSTALL NEWS NOTES README TODO ChangeLog $(DOCDIR)
- make -C t/ install DOCDIR=$(DOCDIR)
- make -C doc/ install DOCDIR=$(DOCDIR)
+ gmake -C t/ install DOCDIR=$(DOCDIR)
+ gmake -C doc/ install DOCDIR=$(DOCDIR)
installcgi: check-config
install -m 555 html2wml.cgi $(CGIDIR)