diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-30 06:27:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-30 06:27:05 +0800 |
commit | 31426e557795495adeb04aa9e16edb4c93184379 (patch) | |
tree | 8583dfe71adaea6ce266633e1799cd602516b801 /accessibility/yasr | |
parent | b36431c8212c7fe9fc83e2f7412d5935b6e10e6e (diff) | |
download | freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.tar.gz freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.tar.zst freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.zip |
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework
Diffstat (limited to 'accessibility/yasr')
-rw-r--r-- | accessibility/yasr/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile index f671ae670c42..89a5852c22a2 100644 --- a/accessibility/yasr/Makefile +++ b/accessibility/yasr/Makefile @@ -19,7 +19,9 @@ PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \ README-br README-de README-es README-fr README-ru SUB_FILES= pkg-message -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+= --enable-nls PLIST_SUB+= NLS="" USES+= gettext @@ -44,7 +46,7 @@ post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} |