diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-26 12:58:55 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-26 12:58:55 +0000 |
commit | 0541acd5bfd5b3b5ba2257858bcb66262dcca36b (patch) | |
tree | 74685dca100b283681ff177d5e71b64b5e8c2867 /multimedia/minitube | |
parent | 934d2a8b6f8987552c3102fd6393386ad62e91b2 (diff) | |
download | ports-0541acd5bfd5b3b5ba2257858bcb66262dcca36b.tar.gz ports-0541acd5bfd5b3b5ba2257858bcb66262dcca36b.zip |
Notes
Diffstat (limited to 'multimedia/minitube')
-rw-r--r-- | multimedia/minitube/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile index 4e9a72f3535c..a3fccc0eadcf 100644 --- a/multimedia/minitube/Makefile +++ b/multimedia/minitube/Makefile @@ -16,25 +16,19 @@ INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME} QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} -QMAKE_PRO= ${WRKSRC}/${PORTNAME}.pro STRIP_FILES= bin/minitube OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_USE= QT4=linguist_build .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -USE_QT4+= linguist_build -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - pre-configure: - ${REINPLACE_CMD} -e 's,$$$$PKGDATADIR,${DATADIR},g' ${QMAKE_PRO} + ${REINPLACE_CMD} -e 's,$$$$PKGDATADIR,${DATADIR},g' ${WRKSRC}/minitube.pro .if !${PORT_OPTIONS:MNLS} - ${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${QMAKE_PRO} + ${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro .endif post-install: |