25 lines
707 B
Plaintext
25 lines
707 B
Plaintext
$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:
|