diff options
author | adamw <adamw@FreeBSD.org> | 2014-09-08 22:39:39 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-09-08 22:39:39 +0800 |
commit | 2f227ce8ab72962347356fb27ae3e170bb4859a1 (patch) | |
tree | c91b5219164abfbb9ed033ae40e704b5dc6b897f /print | |
parent | 0f94bfee7e6d5d3324cec445504721692106cecf (diff) | |
download | freebsd-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/Makefile | 7 | ||||
-rw-r--r-- | print/muttprint/pkg-plist | 2 |
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 |