diff options
author | marino <marino@FreeBSD.org> | 2014-01-14 02:21:04 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-01-14 02:21:04 +0800 |
commit | d188048198422bba53894729e044244413c91838 (patch) | |
tree | 57dd29df426dd93ad5cf8da39965048f6e019895 /accessibility | |
parent | 7b0d6abd48ff4a44e1de67e74009b292b8ecad27 (diff) | |
download | freebsd-ports-gnome-d188048198422bba53894729e044244413c91838.tar.gz freebsd-ports-gnome-d188048198422bba53894729e044244413c91838.tar.zst freebsd-ports-gnome-d188048198422bba53894729e044244413c91838.zip |
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.
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/yasr/Makefile | 9 |
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> |