From 31426e557795495adeb04aa9e16edb4c93184379 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 29 Apr 2013 22:27:05 +0000 Subject: Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS} While here: - trim headers - convert to new options framework --- accessibility/yasr/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'accessibility/yasr') 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 + +.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} -- cgit