aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-09-08 22:39:39 +0800
committeradamw <adamw@FreeBSD.org>2014-09-08 22:39:39 +0800
commit2f227ce8ab72962347356fb27ae3e170bb4859a1 (patch)
treec91b5219164abfbb9ed033ae40e704b5dc6b897f /print
parent0f94bfee7e6d5d3324cec445504721692106cecf (diff)
downloadfreebsd-ports-graphics-2f227ce8ab72962347356fb27ae3e170bb4859a1.tar.gz
freebsd-ports-graphics-2f227ce8ab72962347356fb27ae3e170bb4859a1.tar.zst
freebsd-ports-graphics-2f227ce8ab72962347356fb27ae3e170bb4859a1.zip
So it looks like mutprint-langinfo is not built for the russian/ port.
Add a simple PLIST_SUB switch to account for this.
Diffstat (limited to 'print')
-rw-r--r--print/muttprint/Makefile7
-rw-r--r--print/muttprint/pkg-plist2
2 files changed, 8 insertions, 1 deletions
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 580c79e589c..8074e326438 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -30,6 +30,13 @@ CUPS_RUN_DEPENDS= cupstestppd:${PORTSDIR}/print/cups-base \
PAPERSIZE= letter
.endif
+# muttprint-langinfo is not built for russian/muttprint
+.if defined(MASTERDIR)
+PLIST_SUB+= LANGINFO="@comment "
+.else
+PLIST_SUB+= LANGINFO=""
+.endif
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS}
diff --git a/print/muttprint/pkg-plist b/print/muttprint/pkg-plist
index e1f4d01bc8d..4631e231e27 100644
--- a/print/muttprint/pkg-plist
+++ b/print/muttprint/pkg-plist
@@ -1,5 +1,5 @@
bin/muttprint
-bin/muttprint-langinfo
+%%LANGINFO%%bin/muttprint-langinfo
man/man1/muttprint.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYING