summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-01-13 18:21:04 +0000
committerJohn Marino <marino@FreeBSD.org>2014-01-13 18:21:04 +0000
commit3c5563f807c7957f456df00272a14575e4157f5c (patch)
tree57dd29df426dd93ad5cf8da39965048f6e019895 /accessibility
parentaccessibility/eflite: Unbreak by completing stage support (diff)
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.
Notes
Notes: svn path=/head/; revision=339617
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/yasr/Makefile9
1 files changed, 5 insertions, 4 deletions
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 <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>