1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/html2wml/files/patch-aa
Kirill Ponomarev dd8e80986c - Update to version 0.4.11
- Use %%DOCSDIR%%

PR:		59491
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-11-20 16:10:20 +00:00

40 lines
1.2 KiB
Plaintext

--- Makefile.orig Sun Oct 26 16:23:22 2003
+++ Makefile Thu Nov 20 01:44:55 2003
@@ -1,7 +1,7 @@
# =========================================================================== #
# Configuration
-PREFIX=/usr/local
-CGIDIR=/home/httpd/cgi-bin
+PREFIX?=/usr/local
+CGIDIR=${LOCALBASE}/www/cgi-bin
# =========================================================================== #
# Do not edit the following unless you know what are you are doing
@@ -12,7 +12,7 @@
# Standard subdirectories locations
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man
-DOCDIR=$(PREFIX)/doc/html2wml
+DOCDIR=$(PREFIX)/share/doc/html2wml
MAN1DIR=$(MANDIR)/man1
@@ -31,14 +31,11 @@
# Installaton targets
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)
+ ${BSD_INSTALL_SCRIPT} html2wml.cgi $(BINDIR)/html2wml
+ ${BSD_INSTALL_MAN} doc/html2wml.man $(MAN1DIR)/html2wml.1
installcgi: check-config
- install -m 555 html2wml.cgi $(CGIDIR)
+ ${BSD_INSTALL_SCRIPT} html2wml.cgi $(CGIDIR)
uninstall:
rm -f $(BINDIR)/html2wml