diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-09-08 14:39:39 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-09-08 14:39:39 +0000 |
commit | 59799e3572db0252159036178a5d421826c828b3 (patch) | |
tree | c91b5219164abfbb9ed033ae40e704b5dc6b897f /print | |
parent | Upgrade to 1.3.2 (diff) |
So it looks like mutprint-langinfo is not built for the russian/ port.
Add a simple PLIST_SUB switch to account for this.
Notes
Notes:
svn path=/head/; revision=367634
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 580c79e589c1..8074e326438e 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 e1f4d01bc8d8..4631e231e273 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 |