# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # scantailor-advanced # scantailor-advanced/Makefile # scantailor-advanced/distinfo # scantailor-advanced/pkg-descr # scantailor-advanced/pkg-plist # echo c - scantailor-advanced mkdir -p scantailor-advanced > /dev/null 2>&1 echo x - scantailor-advanced/Makefile sed 's/^X//' >scantailor-advanced/Makefile << 'afbe6a1ba4d95b5ee3614f4030e69d57' X# $FreeBSD$ X XPORTNAME= scantailor-advanced XDISTVERSIONPREFIX= v XDISTVERSION= 1.0.16 XCATEGORIES= graphics X XMAINTAINER= m.ne@gmx.net XCOMMENT= Interactive post-processing tool for scanned pages X XLICENSE= GPLv3 XLICENSE_FILE= ${WRKSRC}/LICENSE X XBUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs XLIB_DEPENDS= libjbig.so:graphics/jbigkit \ X libpng.so:graphics/png \ X libtiff.so:graphics/tiff X XUSES= cmake desktop-file-utils jpeg qt:5 shared-mime-info xorg XUSE_CXXSTD= gnu++98 XUSE_GITHUB= yes XGH_ACCOUNT= 4lex4 XUSE_QT= core gui network opengl widgets xml buildtools_build \ X linguisttools_build qmake_build XUSE_XORG+= xrender X XOPTIONS_GROUP= DOXYGEN X XOPTIONS_GROUP_DOXYGEN= HTML LATEX X XOPTIONS_DEFAULT= X XHTML_DESC= Install HTML Doxygen files XLATEX_DESC= Install LaTeX Doxygen files X XOPTIONS_DEFINE= DOCS NLS XOPTIONS_SUB= yes X XNLS_USES= gettext X X.include X X.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} XPORTDOCS= * X.endif X X.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} XBUILD_DEPENDS+= doxygen:devel/doxygen X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|_[12]|boost::lambda::&|g; s|bind(|boost::lambda::&|' \ X ${WRKSRC}/filters/*/Filter.cpp X @${REINPLACE_CMD} -e '/Categories/s|Applications|Scanning|' \ X ${WRKSRC}/resources/unix/scantailor.desktop X Xpost-patch-NLS-off: X @${REINPLACE_CMD} -e '/\/translations/s/install/# install/' ${WRKSRC}/CMakeLists.txt X Xpost-install: X ${INSTALL_DATA} ${WRKSRC}/resources/icons/appicon-about.png \ X ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png X X.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} X @cd ${WRKSRC} && doxygen . X.endif X X.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML} X @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) X.endif X X.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX} X @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${STAGEDIR}${DOCSDIR}) X.endif X X.include afbe6a1ba4d95b5ee3614f4030e69d57 echo x - scantailor-advanced/distinfo sed 's/^X//' >scantailor-advanced/distinfo << '7d23d7b053a9ed386bee50fb9b76da50' XTIMESTAMP = 1568221877 XSHA256 (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 84629d2edba4c36c62bdb75eedb145262b894d950bcb95cec0dab43e21bdb909 XSIZE (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 2792788 7d23d7b053a9ed386bee50fb9b76da50 echo x - scantailor-advanced/pkg-descr sed 's/^X//' >scantailor-advanced/pkg-descr << '15e5a830a091e84359b2849b83556c24' XScan Tailor Advanced is an interactive post-processing tool for Xscanned pages. It performs operations such as page splitting, Xdeskewing, and removing garbage. All operations can be done Xautomatically, however it's still possible to manually correct their Xresults X XWWW: https://github.com/4lex4/scantailor-advanced 15e5a830a091e84359b2849b83556c24 echo x - scantailor-advanced/pkg-plist sed 's/^X//' >scantailor-advanced/pkg-plist << '4843751a0f044a76b0879b677804016f' Xbin/scantailor Xshare/applications/scantailor.desktop Xshare/icons/hicolor/scalable/apps/ScanTailor.svg Xshare/mime/packages/scantailor-project.xml Xshare/pixmaps/scantailor-advanced.png X%%NLS%%%%DATADIR%%/translations/scantailor_es.qm X%%NLS%%%%DATADIR%%/translations/scantailor_ru.qm 4843751a0f044a76b0879b677804016f exit