aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-10-23 20:06:27 +0800
committermakc <makc@FreeBSD.org>2013-10-23 20:06:27 +0800
commit5be26e479023621d176b5a6602fff1eca09fa382 (patch)
tree22221b683df09095f910aa520bac6a3e1a5ffee0
parentfab04688576a41f221938e082d6cf93269675d4b (diff)
downloadfreebsd-ports-gnome-5be26e479023621d176b5a6602fff1eca09fa382.tar.gz
freebsd-ports-gnome-5be26e479023621d176b5a6602fff1eca09fa382.tar.zst
freebsd-ports-gnome-5be26e479023621d176b5a6602fff1eca09fa382.zip
- Update to 3.2.7
- Convert to USES - Remove superfluous dependency on hicolor-icon-theme - Support staging
-rw-r--r--graphics/klatexformula/Makefile23
-rw-r--r--graphics/klatexformula/distinfo4
-rw-r--r--graphics/klatexformula/pkg-plist53
3 files changed, 56 insertions, 24 deletions
diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile
index 47fc5a0859ec..6c60e3ac21af 100644
--- a/graphics/klatexformula/Makefile
+++ b/graphics/klatexformula/Makefile
@@ -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@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>
diff --git a/graphics/klatexformula/distinfo b/graphics/klatexformula/distinfo
index 0740cb51c6e5..a551a68626a6 100644
--- a/graphics/klatexformula/distinfo
+++ b/graphics/klatexformula/distinfo
@@ -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
diff --git a/graphics/klatexformula/pkg-plist b/graphics/klatexformula/pkg-plist
index d271a3bf04e8..bfd2450ca97f 100644
--- a/graphics/klatexformula/pkg-plist
+++ b/graphics/klatexformula/pkg-plist
@@ -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
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
@dirrm share/klatexformula/rccresources
@dirrm share/klatexformula
+@dirrm include/klftools
+@dirrm include/klfbackend
+@dirrm include/klfapp