diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /astro/merkaartor | |
parent | Hand back to the maintainer, this time without a typo in the address. (diff) |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes:
svn path=/head/; revision=394778
Diffstat (limited to 'astro/merkaartor')
-rw-r--r-- | astro/merkaartor/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/astro/merkaartor/Makefile b/astro/merkaartor/Makefile index 4f9f6c02703d..ef0c327eb088 100644 --- a/astro/merkaartor/Makefile +++ b/astro/merkaartor/Makefile @@ -34,27 +34,20 @@ GEOIMAGE_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 ZBAR_DESC= Read barcodes from walking papers (BROKEN) ZBAR_QMAKE_ON= ZBAR=1 ZBAR_LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar +ZBAR_BROKEN= Does not build with option ZBAR selected DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1 -OPTIONS_SUB= yes - -.include <bsd.port.options.mk> +NLS_USE= QT4=linguist_build -.if ${PORT_OPTIONS:MZBAR} -BROKEN= Does not build with option ZBAR selected -.endif - -.if ${PORT_OPTIONS:MNLS} -USE_QT4+= linguist_build +OPTIONS_SUB= yes -pre-build: +pre-build-NLS-on: @cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro -post-install: +post-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations @(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \ ${STAGEDIR}${DATADIR}/translations) -.endif .include <bsd.port.mk> |