freebsd-ports/net/whois/files/patch-po_Makefile
2014-08-04 09:31:05 +00:00

26 lines
453 B
Text

--- po/Makefile.orig 2014-06-08 18:22:54.000000000 +0200
+++ po/Makefile 2014-06-08 18:23:37.000000000 +0200
@@ -1,4 +1,4 @@
-prefix = /usr
+prefix = ${PREFIX}
INSTALL= install
@@ -10,6 +10,8 @@
POTFILES=../whois.c ../mkpasswd.c
+.SUFFIXES: .po .mo
+
all: $(PACKAGE).pot $(CATALOGS)
$(PACKAGE).pot: $(POTFILES)
@@ -34,7 +36,7 @@
fi; \
done
-%.mo: %.po
+.po.mo:
msgfmt --statistics --check --verbose --output-file=$@ $<
clean: