Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 14:39:40 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367634 - head/print/muttprint
Message-ID:  <201409081439.s88EdeBR002683@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Sep  8 14:39:39 2014
New Revision: 367634
URL: http://svnweb.freebsd.org/changeset/ports/367634
QAT: https://qat.redports.org/buildarchive/r367634/

Log:
  So it looks like mutprint-langinfo is not built for the russian/ port.
  Add a simple PLIST_SUB switch to account for this.

Modified:
  head/print/muttprint/Makefile
  head/print/muttprint/pkg-plist

Modified: head/print/muttprint/Makefile
==============================================================================
--- head/print/muttprint/Makefile	Mon Sep  8 14:39:09 2014	(r367633)
+++ head/print/muttprint/Makefile	Mon Sep  8 14:39:39 2014	(r367634)
@@ -30,6 +30,13 @@ CUPS_RUN_DEPENDS=	cupstestppd:${PORTSDIR
 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}

Modified: head/print/muttprint/pkg-plist
==============================================================================
--- head/print/muttprint/pkg-plist	Mon Sep  8 14:39:09 2014	(r367633)
+++ head/print/muttprint/pkg-plist	Mon Sep  8 14:39:39 2014	(r367634)
@@ -1,5 +1,5 @@
 bin/muttprint
-bin/muttprint-langinfo
+%%LANGINFO%%bin/muttprint-langinfo
 man/man1/muttprint.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYING



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409081439.s88EdeBR002683>