diff options
author | Ken Moore <moorekou@gmail.com> | 2018-08-17 16:06:31 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2018-08-17 16:06:31 -0400 |
commit | da4aeb89f5f42f6e11754abe27eb1fda7078ce08 (patch) | |
tree | a14bef7a1261431333c60ab978111ba894057da7 | |
parent | More fixes for the Lumina ports for FreeBSD. (diff) | |
download | lumina-da4aeb89f5f42f6e11754abe27eb1fda7078ce08.tar.gz lumina-da4aeb89f5f42f6e11754abe27eb1fda7078ce08.tar.bz2 lumina-da4aeb89f5f42f6e11754abe27eb1fda7078ce08.zip |
Fix up the port template for lumina-pdf
-rw-r--r-- | port-files/FreeBSD/deskutils/lumina-pdf/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/port-files/FreeBSD/deskutils/lumina-pdf/Makefile b/port-files/FreeBSD/deskutils/lumina-pdf/Makefile index 0958e564..119053fe 100644 --- a/port-files/FreeBSD/deskutils/lumina-pdf/Makefile +++ b/port-files/FreeBSD/deskutils/lumina-pdf/Makefile @@ -37,11 +37,17 @@ GH_PROJECT= lumina GH_TAGNAME= %%GHTAG%% WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} -POPPLER_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 -POPPLER_QMAKE_ON= USE_POPPLER=true -MUPDF_LIB_DEPENDS= libmupdf.so:graphics/mupdf -MUPDF_QMAKE_ON= USE_MUPDF=true -I18N_QMAKE_ON= CONFIG+=WITH_I18N -I18N_USE= USE_QT+=linguist_build +.if${PORT_OPTIONS:MPOPPLER} +QMAKE_ARGS+= USE_POPPLER=true +LIB_DEPENDS+= libpoppler-qt5.so:graphics/poppler-qt5 +.elif${PORT_OPTIONS:MMUPDF} +QMAKE_ARGS+= USE_MUPDF=true +LIB_DEPENDS+= libmupdf.so:graphics/mupdf +.endif + +.if${PORT_OPTIONS:MI18N} +USE_QT+= linguist_build +QMAKE_ARGS+=CONFIG+=WITH_I18N +.endif .include <bsd.port.mk> |