openbsd-ports/www/yaws/patches/patch-man_Makefile
jasper ec1a42aa3c import yaws 1.89
Yaws is a HTTP high perfomance 1.1 webserver particularly well suited
for dynamic-content web applications. Two separate modes of operations
are supported:

    * Standalone mode where Yaws runs as a regular webserver daemon.
      This is the default mode.
    * Embedded mode where Yaws runs as an embedded webserver in another
      Erlang application.

Yaws is entirely written in Erlang, and furthermore it is a
multithreaded webserver where one Erlang lightweight process is used to
handle each client.

ok aja@
2010-12-22 18:38:03 +00:00

24 lines
779 B
Plaintext

$OpenBSD: patch-man_Makefile,v 1.1.1.1 2010/12/22 18:38:03 jasper Exp $
Fix path for manpages.
--- man/Makefile.orig Tue Dec 21 15:22:30 2010
+++ man/Makefile Tue Dec 21 15:22:46 2010
@@ -2,11 +2,11 @@
include ../include.mk
install:
- install -d $(DESTDIR)$(PREFIX)/share/man/man1
- install -d $(DESTDIR)$(PREFIX)/share/man/man5
- cp yaws.1 $(DESTDIR)$(PREFIX)/share/man/man1
- cp yaws.conf.5 $(DESTDIR)$(PREFIX)/share/man/man5
- cp yaws_api.5 $(DESTDIR)$(PREFIX)/share/man/man5
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/man/man1
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/man/man5
+ $(BSD_INSTALL_MAN) yaws.1 $(DESTDIR)$(PREFIX)/man/man1
+ $(BSD_INSTALL_MAN) yaws.conf.5 $(DESTDIR)$(PREFIX)/man/man5
+ $(BSD_INSTALL_MAN) yaws_api.5 $(DESTDIR)$(PREFIX)/man/man5