From 3c5563f807c7957f456df00272a14575e4157f5c Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 13 Jan 2014 18:21:04 +0000 Subject: 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. --- accessibility/yasr/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'accessibility') diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile index b55ccf0c2b43..1fddfaeb74be 100644 --- a/accessibility/yasr/Makefile +++ b/accessibility/yasr/Makefile @@ -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 +.include -.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 +.include -- cgit v1.2.3