Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2013 08:40:18 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324335 - head/graphics/scantailor
Message-ID:  <201308070840.r778eI7b009028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vg
Date: Wed Aug  7 08:40:17 2013
New Revision: 324335
URL: http://svnweb.freebsd.org/changeset/ports/324335

Log:
  - 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)

Modified:
  head/graphics/scantailor/Makefile
  head/graphics/scantailor/distinfo
  head/graphics/scantailor/pkg-plist

Modified: head/graphics/scantailor/Makefile
==============================================================================
--- head/graphics/scantailor/Makefile	Wed Aug  7 08:36:50 2013	(r324334)
+++ head/graphics/scantailor/Makefile	Wed Aug  7 08:40:17 2013	(r324335)
@@ -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 m
 		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>

Modified: head/graphics/scantailor/distinfo
==============================================================================
--- head/graphics/scantailor/distinfo	Wed Aug  7 08:36:50 2013	(r324334)
+++ head/graphics/scantailor/distinfo	Wed Aug  7 08:40:17 2013	(r324335)
@@ -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

Modified: head/graphics/scantailor/pkg-plist
==============================================================================
--- head/graphics/scantailor/pkg-plist	Wed Aug  7 08:36:50 2013	(r324334)
+++ head/graphics/scantailor/pkg-plist	Wed Aug  7 08:40:17 2013	(r324335)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308070840.r778eI7b009028>