summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-04-06 22:30:35 +0000
committerpav <pav@FreeBSD.org>2008-04-06 22:30:35 +0000
commitc5a1e6885b69b11816143205a58416e66318fc8a (patch)
treed355df36c1eb0104727a92316306adc380f233b9 /x11-fonts
parentbe32c27532214f7ee0bdeb6efc02bece971a5a19 (diff)
downloadFreeBSD-ports-c5a1e6885b69b11816143205a58416e66318fc8a.zip
FreeBSD-ports-c5a1e6885b69b11816143205a58416e66318fc8a.tar.gz
- Update to 0.4.1
PR: ports/122084 Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontmatrix/Makefile24
-rw-r--r--x11-fonts/fontmatrix/distinfo6
-rw-r--r--x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h11
3 files changed, 24 insertions, 17 deletions
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index e6ec8e3..8986b6c 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fontmatrix
-DISTVERSION= 0.3.1
+DISTVERSION= 0.4.1
DISTVERSIONSUFFIX= -Source
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontmatrix.net/archives/
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${CMAKE}:${PORTSDIR}/devel/cmake
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT_VER= 4
-QT_COMPONENTS= gui xml moc_build uic_build rcc_build qmake_build
+QT_COMPONENTS= gui svg network moc_build uic_build rcc_build qmake_build linguist_build
INSTALLS_ICONS= yes
MAKE_ENV+= VERBOSE=1
@@ -40,18 +40,14 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/fontforge:${PORTSDIR}/print/fontforge
post-patch:
cd ${WRKSRC}/src && \
- ${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \
- prefs_panel.ui \
- typotek.cpp \
- messages/fontmatrix_no.ts \
- messages/fontmatrix_en.ts \
- messages/fontmatrix_nl.ts \
- messages/fontmatrix_fr.ts \
- messages/fontmatrix_sr.ts \
- messages/fontmatrix_sv.ts \
- messages/fontmatrix_fi.ts \
- messages/fontmatrix_de.ts \
- messages/fontmatrix_da.ts
+ ${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \
+ prefs_panel.ui \
+ typotek.cpp
+
+pre-configure:
+ cd ${WRKSRC}/src/messages && \
+ ${LOCALBASE}/bin/lupdate-qt4 -noobsolete ../ -ts *.ts && \
+ ${LOCALBASE}/bin/lrelease-qt4 *.ts
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS}
diff --git a/x11-fonts/fontmatrix/distinfo b/x11-fonts/fontmatrix/distinfo
index 965e8d0..d420c9b 100644
--- a/x11-fonts/fontmatrix/distinfo
+++ b/x11-fonts/fontmatrix/distinfo
@@ -1,3 +1,3 @@
-MD5 (fontmatrix-0.3.1-Source.tar.gz) = 173b3354e0e3d03a60e3c1fd1d790b37
-SHA256 (fontmatrix-0.3.1-Source.tar.gz) = 2f4e752b2fa6f1e5406277d4a46989b5b2943deda756a88a45a46b5e66a721c8
-SIZE (fontmatrix-0.3.1-Source.tar.gz) = 455920
+MD5 (fontmatrix-0.4.1-Source.tar.gz) = 2ea05655034ad1347db276500f429b01
+SHA256 (fontmatrix-0.4.1-Source.tar.gz) = bc3edf55407c1cac9a4936f022cb49d556e0c86e6305f7f0d7a7f2b44a5372b2
+SIZE (fontmatrix-0.4.1-Source.tar.gz) = 656424
diff --git a/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h b/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
new file mode 100644
index 0000000..7cfc110
--- /dev/null
+++ b/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
@@ -0,0 +1,11 @@
+--- ./src/prefspaneldialog.h.orig 2008-04-06 13:47:45.000000000 +0400
++++ ./src/prefspaneldialog.h 2008-04-07 01:12:12.000000000 +0400
+@@ -12,7 +12,7 @@
+ #ifndef PREFSPANELDIALOG_H
+ #define PREFSPANELDIALOG_H
+
+-#include <qdialog.h>
++#include <QDialog>
+ #include <ui_prefs_panel.h>
+
+
OpenPOWER on IntegriCloud