From aa0867e0851ddf55a3250ac4f02193e6e62a69ed Mon Sep 17 00:00:00 2001 From: Veniamin Gvozdikov Date: Tue, 1 Jul 2014 09:13:27 +0000 Subject: [PATCH] - Support staging. --- graphics/scantailor/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile index e3683d000af0..bfba9768fce5 100644 --- a/graphics/scantailor/Makefile +++ b/graphics/scantailor/Makefile @@ -12,10 +12,10 @@ COMMENT= Interactive post-processing tool for scanned pages LICENSE= GPLv3 -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - tiff:${PORTSDIR}/graphics/tiff \ - jbig:${PORTSDIR}/graphics/jbigkit \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libjbig.so:${PORTSDIR}/graphics/jbigkit \ + libpng15.so:${PORTSDIR}/graphics/png BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs USES= cmake gettext iconv @@ -35,8 +35,6 @@ OPTIONS_DEFAULT= HTML_DESC= Install HTML Doxygen files LATEX_DESC= Install LaTeX Doxygen files -NO_STAGE= yes - OPTIONS_DEFINE= DOCS .include @@ -51,18 +49,18 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen post-install: ${INSTALL_DATA} ${WRKSRC}/resources/icons/appicon-about.png \ - ${PREFIX}/share/pixmaps/${PORTNAME}.png + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} @cd ${WRKSRC} && doxygen . .endif .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${DOCSDIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) .endif .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${DOCSDIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${STAGEDIR}${DOCSDIR}) .endif .include