summaryrefslogtreecommitdiff
path: root/net/httping/patches/patch-aa
blob: 7aa507e68b67c2a4192e2edd434aaad18ace2fca (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
$NetBSD: patch-aa,v 1.4 2013/06/26 12:39:24 ryoon Exp $

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

--- Makefile.orig	2013-06-07 13:18:52.000000000 +0000
+++ Makefile
@@ -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,6 +116,7 @@ install: $(TARGET) $(TRANSLATIONS)
 ifneq ($(DEBUG),yes)
 	$(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
 endif
+	${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: