svn commit: r331377 - head/graphics/klatexformula

Max Brazhnikov makc at FreeBSD.org
Wed Oct 23 12:06:28 UTC 2013


Author: makc
Date: Wed Oct 23 12:06:27 2013
New Revision: 331377
URL: http://svnweb.freebsd.org/changeset/ports/331377

Log:
  - Update to 3.2.7
  - Convert to USES
  - Remove superfluous dependency on hicolor-icon-theme
  - Support staging

Modified:
  head/graphics/klatexformula/Makefile   (contents, props changed)
  head/graphics/klatexformula/distinfo   (contents, props changed)
  head/graphics/klatexformula/pkg-plist   (contents, props changed)

Modified: head/graphics/klatexformula/Makefile
==============================================================================
--- head/graphics/klatexformula/Makefile	Wed Oct 23 12:06:04 2013	(r331376)
+++ head/graphics/klatexformula/Makefile	Wed Oct 23 12:06:27 2013	(r331377)
@@ -1,31 +1,24 @@
 # $FreeBSD$
 
 PORTNAME=	klatexformula
-PORTVERSION=	3.1.2
-PORTREVISION=	3
+PORTVERSION=	3.2.7
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	makc at FreeBSD.org
 COMMENT=	Convert LaTeX formula to image
 
-RUN_DEPENDS=	${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-
-USE_QT4=	gui xml dbus designer_build \
+USES=		cmake:outsource shared-mime-info
+USE_QT4=	gui xml dbus designer_build linguist_build \
 		qmake_build moc_build rcc_build uic_build
 USE_TEX=	latex dvipsk
 HAS_CONFIGURE=	yes
 USE_GHOSTSCRIPT=	yes
-QMAKE_ARGS=	QMAKE=${QMAKE} INSTALLPREFIX=${PREFIX} \
-		BACKEND_LIBDIR=lib
-
-STRIP_FILES=	bin/klatexformula
-
-NO_STAGE=	yes
-do-configure:
-	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS}
+CMAKE_ARGS=	-DQT_QMAKE_EXECUTABLE_FINDQT=${QMAKE} \
+		-DKLF_BUILD_KTEXTEDITORPLUGIN=off \
+		-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off
+CXXFLAGS=	-I${LOCALBASE}/include
 
-post-install:
-	${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 .include <bsd.port.mk>

Modified: head/graphics/klatexformula/distinfo
==============================================================================
--- head/graphics/klatexformula/distinfo	Wed Oct 23 12:06:04 2013	(r331376)
+++ head/graphics/klatexformula/distinfo	Wed Oct 23 12:06:27 2013	(r331377)
@@ -1,2 +1,2 @@
-SHA256 (klatexformula-3.1.2.tar.gz) = f94c9fd38366d0e54116b30594c348843f191f3b63147ef1c61b0ab78673accb
-SIZE (klatexformula-3.1.2.tar.gz) = 561766
+SHA256 (klatexformula-3.2.7.tar.gz) = 828fec5c94f97f6d6c13247c48db294fed7554caf9d52d45cfbf3488c3b84c0b
+SIZE (klatexformula-3.2.7.tar.gz) = 3237476

Modified: head/graphics/klatexformula/pkg-plist
==============================================================================
--- head/graphics/klatexformula/pkg-plist	Wed Oct 23 12:06:04 2013	(r331376)
+++ head/graphics/klatexformula/pkg-plist	Wed Oct 23 12:06:27 2013	(r331377)
@@ -1,13 +1,52 @@
 bin/klatexformula
 bin/klatexformula_cmdl
-include/klfbackend.h
-include/klfblockprocess.h
+include/klfapp/klfconfig.h
+include/klfapp/klfdbus.h
+include/klfapp/klflatexedit.h
+include/klfapp/klflatexsymbols.h
+include/klfapp/klflib.h
+include/klfapp/klflibbrowser.h
+include/klfapp/klflibdbengine.h
+include/klfapp/klflibentryeditor.h
+include/klfapp/klfliblegacyengine.h
+include/klfapp/klflibview.h
+include/klfapp/klfmain.h
+include/klfapp/klfmainwin.h
+include/klfapp/klfmime.h
+include/klfapp/klfpluginiface.h
+include/klfapp/klfsettings.h
+include/klfapp/klfstylemanager.h
+include/klfbackend/klfbackend.h
+include/klfbackend/klfblockprocess.h
+include/klfbackend/klfdebug.h
+include/klfbackend/klfdefs.h
+include/klftools/klfcolorchooser.h
+include/klftools/klfdisplaylabel.h
+include/klftools/klffactory.h
+include/klftools/klfguiutil.h
+include/klftools/klfiteratorsearchable.h
+include/klftools/klfpathchooser.h
+include/klftools/klfpixmapbutton.h
+include/klftools/klfpobj.h
+include/klftools/klfsearchbar.h
+include/klftools/klfstyle.h
+include/klftools/klfunitinput.h
+include/klftools/klfutil.h
+include/klftools/qtcolortriangle.h
+lib/libklfapp.a
 lib/libklfbackend.a
+lib/libklftools.a
 share/applications/klatexformula.desktop
-share/icons/hicolor/128x128/apps/klatexformula.png
-share/icons/hicolor/16x16/apps/klatexformula.png
-share/icons/hicolor/32x32/apps/klatexformula.png
-share/icons/hicolor/64x64/apps/klatexformula.png
-share/klatexformula/rccresources/klfbaseplugins.rcc
+share/klatexformula/rccresources/klfbaseplugins-%%VERSION%%.rcc
+share/mime/packages/klatexformula-mime.xml
+share/pixmaps/klatexformula-128.png
+share/pixmaps/klatexformula-16.png
+share/pixmaps/klatexformula-32.png
+share/pixmaps/klatexformula-64.png
+ at dirrmtry share/mime/packages
+ at dirrmtry share/mime
 @dirrm share/klatexformula/rccresources
 @dirrm share/klatexformula
+ at dirrm include/klftools
+ at dirrm include/klfbackend
+ at dirrm include/klfapp


More information about the svn-ports-all mailing list