aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@FreeBSD.org>2013-08-07 16:40:17 +0800
committervg <vg@FreeBSD.org>2013-08-07 16:40:17 +0800
commit52e165751ea860371e5f9047319a3efaa3840143 (patch)
tree096d92982f2c4e43784619f04c8f0c05c74983e3
parent842c98c2cd7edf4dcaba09a6f532d3a8f5b6fa58 (diff)
downloadfreebsd-ports-gnome-52e165751ea860371e5f9047319a3efaa3840143.tar.gz
freebsd-ports-gnome-52e165751ea860371e5f9047319a3efaa3840143.tar.zst
freebsd-ports-gnome-52e165751ea860371e5f9047319a3efaa3840143.zip
- Update to 0.9.11.1
- Trim comment - Trim Desktop entry file - Add icon and docs - Add HTML LATEX Options - Add dependency for devel/doxygen - Trim pkg-plist PR: ports/179356 Submitted by: nemysis <nemysis@gmx.ch> Approved by: osa (mentor)
-rw-r--r--graphics/scantailor/Makefile44
-rw-r--r--graphics/scantailor/distinfo4
-rw-r--r--graphics/scantailor/pkg-plist2
3 files changed, 43 insertions, 7 deletions
diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile
index 0e630e5a81ae..e66e41965b35 100644
--- a/graphics/scantailor/Makefile
+++ b/graphics/scantailor/Makefile
@@ -2,13 +2,12 @@
# $FreeBSD$
PORTNAME= scantailor
-PORTVERSION= 0.9.11
-PORTREVISION= 1
+PORTVERSION= 0.9.11.1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= vg@FreeBSD.org
-COMMENT= Scan Tailor is an interactive post-processing tool for scanned pages
+COMMENT= Interactive post-processing tool for scanned pages
LICENSE= GPLv3
@@ -23,7 +22,42 @@ USE_QT4= gui xml qmake_build uic_build moc_build rcc_build \
linguist_build
MAKE_JOBS_SAFE= yes
-DESKTOP_ENTRIES="Scan Tailor" "Interactive post-processing tool for scanned pages" \
- "" "${PORTNAME}" "Graphics;Scanning;" false
+DESKTOP_ENTRIES="Scan Tailor" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Graphics;Scanning;" false
+
+OPTIONS_GROUP= DOXYGEN
+
+OPTIONS_GROUP_DOXYGEN= HTML LATEX
+
+OPTIONS_DEFAULT=
+
+HTML_DESC= Install HTML Doxygen files
+LATEX_DESC= Install LaTeX Doxygen files
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
+PORTDOCS= *
+.endif
+
+.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
+BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
+.endif
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/resources/icons/appicon-about.png \
+ ${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})
+.endif
+
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${DOCSDIR})
+.endif
.include <bsd.port.mk>
diff --git a/graphics/scantailor/distinfo b/graphics/scantailor/distinfo
index b2a0b656c50b..3338ed2396cd 100644
--- a/graphics/scantailor/distinfo
+++ b/graphics/scantailor/distinfo
@@ -1,2 +1,2 @@
-SHA256 (scantailor-0.9.11.tar.gz) = e158fa5c38b1c34dec47e611e27d74a0508bc2b6818b84f0d05f98ba184c9c11
-SIZE (scantailor-0.9.11.tar.gz) = 1175866
+SHA256 (scantailor-0.9.11.1.tar.gz) = 881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3
+SIZE (scantailor-0.9.11.1.tar.gz) = 1190198
diff --git a/graphics/scantailor/pkg-plist b/graphics/scantailor/pkg-plist
index d3046d3d6f91..0c4792253b5e 100644
--- a/graphics/scantailor/pkg-plist
+++ b/graphics/scantailor/pkg-plist
@@ -1,5 +1,6 @@
bin/scantailor
bin/scantailor-cli
+share/pixmaps/scantailor.png
%%DATADIR%%/translations/scantailor_bg.qm
%%DATADIR%%/translations/scantailor_cs.qm
%%DATADIR%%/translations/scantailor_de.qm
@@ -8,6 +9,7 @@ bin/scantailor-cli
%%DATADIR%%/translations/scantailor_it.qm
%%DATADIR%%/translations/scantailor_ja.qm
%%DATADIR%%/translations/scantailor_pl.qm
+%%DATADIR%%/translations/scantailor_pt_BR.qm
%%DATADIR%%/translations/scantailor_ru.qm
%%DATADIR%%/translations/scantailor_sk.qm
%%DATADIR%%/translations/scantailor_uk.qm