Changeset View
Changeset View
Standalone View
Standalone View
astro/merkaartor/Makefile
Show All 28 Lines | |||||
GEOIMAGE_DESC= Enable geotagged images (needs exiv2) | GEOIMAGE_DESC= Enable geotagged images (needs exiv2) | ||||
GEOIMAGE_QMAKE_ON= GEOIMAGE=1 | GEOIMAGE_QMAKE_ON= GEOIMAGE=1 | ||||
GEOIMAGE_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 | GEOIMAGE_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 | ||||
ZBAR_DESC= Read barcodes from walking papers (BROKEN) | ZBAR_DESC= Read barcodes from walking papers (BROKEN) | ||||
ZBAR_QMAKE_ON= ZBAR=1 | ZBAR_QMAKE_ON= ZBAR=1 | ||||
ZBAR_LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar | ZBAR_LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar | ||||
ZBAR_BROKEN= Does not build with option ZBAR selected | |||||
DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1 | DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1 | ||||
NLS_USE= QT4=linguist_build | |||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
.include <bsd.port.options.mk> | pre-build-NLS-on: | ||||
.if ${PORT_OPTIONS:MZBAR} | |||||
BROKEN= Does not build with option ZBAR selected | |||||
.endif | |||||
.if ${PORT_OPTIONS:MNLS} | |||||
USE_QT4+= linguist_build | |||||
pre-build: | |||||
@cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro | @cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro | ||||
post-install: | post-install-NLS-on: | ||||
@${MKDIR} ${STAGEDIR}${DATADIR}/translations | @${MKDIR} ${STAGEDIR}${DATADIR}/translations | ||||
@(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \ | @(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \ | ||||
${STAGEDIR}${DATADIR}/translations) | ${STAGEDIR}${DATADIR}/translations) | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |