summaryrefslogtreecommitdiff
path: root/net/httping/patches/patch-aa
blob: fba296b8c08d082b4bd0f1602a6ad64b6d02bdb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aa,v 1.5 2015/01/29 02:27:39 mef Exp $

* Fix man page directory for pkgsrc.
* Create nls directory before installation.

--- Makefile.orig	2014-02-04 05:17:29.000000000 +0900
+++ Makefile	2015-01-29 11:16:49.000000000 +0900
@@ -42,7 +42,7 @@ LDFLAGS+=-lm
 PACKAGE=$(TARGET)-$(VERSION)
 PREFIX?=/usr
 BINDIR=$(PREFIX)/bin
-MANDIR=$(PREFIX)/share/man
+MANDIR=$(PREFIX)/${PKGMANDIR}
 DOCDIR=$(PREFIX)/share/doc/$(TARGET)
 
 INSTALL=install
@@ -116,7 +116,7 @@ install: $(TARGET) $(TRANSLATIONS)
 ifneq ($(DEBUG),yes)
 	$(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
 endif
-	mkdir -p $(DESTDIR)/$(PREFIX)/share/locale/nl/LC_MESSAGES
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/locale/nl/LC_MESSAGES
 	cp nl.mo $(DESTDIR)/$(PREFIX)/share/locale/nl/LC_MESSAGES/httping.mo
 
 makefile.inc: