diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-26 22:30:37 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-26 22:30:37 +0800 |
commit | f175b9b66dc6c50f34aa2c6f46d15259fb8ee5c5 (patch) | |
tree | 5bc1376660fc7780e406ccb127fd7c7e23425d40 /accessibility | |
parent | c2f86e3e9b0bbd8be962530c18ce72621e043163 (diff) | |
download | freebsd-ports-gnome-f175b9b66dc6c50f34aa2c6f46d15259fb8ee5c5.tar.gz freebsd-ports-gnome-f175b9b66dc6c50f34aa2c6f46d15259fb8ee5c5.tar.zst freebsd-ports-gnome-f175b9b66dc6c50f34aa2c6f46d15259fb8ee5c5.zip |
support stage
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/yasr/Makefile | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile index 354e2e37328f..b55ccf0c2b43 100644 --- a/accessibility/yasr/Makefile +++ b/accessibility/yasr/Makefile @@ -12,24 +12,15 @@ COMMENT= General-purpose console screen reader LICENSE= LGPL20 -NO_STAGE= yes USES= gmake GNU_CONFIGURE= yes -MAN1= yasr.1 PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \ README-br README-de README-es README-fr README-ru SUB_FILES= pkg-message -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB+= NLS="" -USES+= gettext -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls +OPTIONS_SUB= yes PLIST_FILES= bin/yasr \ %%DATADIR%%/yasr.conf \ @@ -47,12 +38,9 @@ post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif - @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .include <bsd.port.post.mk> |