Date: Mon, 13 Jan 2014 18:21:05 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339617 - head/accessibility/yasr Message-ID: <201401131821.s0DIL5Vf004055@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Jan 13 18:21:04 2014 New Revision: 339617 URL: http://svnweb.freebsd.org/changeset/ports/339617 Log: accessibility/yasr: Unbreak everywhere after stage attempt After staging, this port failed because PLIST_SUB for NLS was no longer defined. The option has to be explicitly listed for OPTIONS_SUB to work. Define DOCS while here and bump because it has been building incorrectly. Modified: head/accessibility/yasr/Makefile Modified: head/accessibility/yasr/Makefile ============================================================================== --- head/accessibility/yasr/Makefile Mon Jan 13 18:09:51 2014 (r339616) +++ head/accessibility/yasr/Makefile Mon Jan 13 18:21:04 2014 (r339617) @@ -3,7 +3,7 @@ PORTNAME= yasr PORTVERSION= 0.6.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= accessibility MASTER_SITES= SF @@ -20,6 +20,7 @@ SUB_FILES= pkg-message NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes PLIST_FILES= bin/yasr \ @@ -28,9 +29,9 @@ PLIST_FILES= bin/yasr \ %%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo PLIST_DIRS= %%DATADIR%% -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${OSVERSION} > 900007 +.if ${OPSYS} == FreeBSD && ${OSVERSION} > 900007 EXTRA_PATCHES= ${FILESDIR}/extra-patch-yasr__main.c .endif @@ -43,4 +44,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131821.s0DIL5Vf004055>