From 39c4d5b3d59fcfc310bf604748a335dfeda58c98 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 16 Feb 2008 23:18:46 +0000 Subject: Fontmatrix is a graphical font manager. Targeted audience are mostly adventurous graphic designers and typesetters who deal with hundreds and even more fonts during their work - browsing the endless lists of font dialogs. Basically, the Fontmatrix helps doing three things: activation and deactivation of fonts, tagging fonts and fontbook generation. WWW: http://www.fontmatrix.net PR: ports/120250 Submitted by: Max Brazhnikov --- x11-fonts/fontmatrix/Makefile | 59 ++++++++++++++++++++++++++++++++++++++++++ x11-fonts/fontmatrix/distinfo | 3 +++ x11-fonts/fontmatrix/pkg-descr | 8 ++++++ x11-fonts/fontmatrix/pkg-plist | 4 +++ 4 files changed, 74 insertions(+) create mode 100644 x11-fonts/fontmatrix/Makefile create mode 100644 x11-fonts/fontmatrix/distinfo create mode 100644 x11-fonts/fontmatrix/pkg-descr create mode 100644 x11-fonts/fontmatrix/pkg-plist (limited to 'x11-fonts/fontmatrix') diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile new file mode 100644 index 000000000000..e6ec8e307348 --- /dev/null +++ b/x11-fonts/fontmatrix/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: fontmatrix +# Date created: 2008-01-13 +# Whom: Max Brazhnikov +# +# $FreeBSD$ +# + +PORTNAME= fontmatrix +DISTVERSION= 0.3.1 +DISTVERSIONSUFFIX= -Source +CATEGORIES= x11-fonts +MASTER_SITES= http://www.fontmatrix.net/archives/ + +MAINTAINER= makc@issp.ac.ru +COMMENT= A graphical font manager + +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 +INSTALLS_ICONS= yes +MAKE_ENV+= VERBOSE=1 + +CMAKE?= ${LOCALBASE}/bin/cmake +CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ + -DCMAKE_C_COMPILER:STRING="${CC}" \ + -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ + -DCMAKE_EXE_LINKER_FLAGS=${PTHREAD_LIBS} + +OPTIONS= FONTFORGE "With FontForge editor" off + +.include + +.if defined(WITH_FONTFORGE) +RUN_DEPENDS+= ${LOCALBASE}/bin/fontforge:${PORTSDIR}/print/fontforge +.endif + +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 + +do-configure: + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} + +.include diff --git a/x11-fonts/fontmatrix/distinfo b/x11-fonts/fontmatrix/distinfo new file mode 100644 index 000000000000..965e8d0dc063 --- /dev/null +++ b/x11-fonts/fontmatrix/distinfo @@ -0,0 +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 diff --git a/x11-fonts/fontmatrix/pkg-descr b/x11-fonts/fontmatrix/pkg-descr new file mode 100644 index 000000000000..0a5f99b8d582 --- /dev/null +++ b/x11-fonts/fontmatrix/pkg-descr @@ -0,0 +1,8 @@ +Fontmatrix is a graphical font manager. Targeted audience are mostly +adventurous graphic designers and typesetters who deal with hundreds +and even more fonts during their work - browsing the endless lists +of font dialogs. Basically, the Fontmatrix helps doing three things: +activation and deactivation of fonts, tagging fonts and fontbook +generation. + +WWW: http://www.fontmatrix.net diff --git a/x11-fonts/fontmatrix/pkg-plist b/x11-fonts/fontmatrix/pkg-plist new file mode 100644 index 000000000000..c336335fa0e1 --- /dev/null +++ b/x11-fonts/fontmatrix/pkg-plist @@ -0,0 +1,4 @@ +bin/fontmatrix +share/applications/fontmatrix.desktop +share/icons/hicolor/48x48/apps/fontmatrix.png +@dirrmtry share/applications -- cgit