diff options
author | miwi <miwi@FreeBSD.org> | 2008-02-17 07:18:46 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-02-17 07:18:46 +0800 |
commit | 39c4d5b3d59fcfc310bf604748a335dfeda58c98 (patch) | |
tree | 6dec235ec8bd7a96763b49887a3012b02af4780f /x11-fonts/fontmatrix | |
parent | 2cc2b3dae4d42c74076633322802f4eff4efaeae (diff) | |
download | freebsd-ports-gnome-39c4d5b3d59fcfc310bf604748a335dfeda58c98.tar.gz freebsd-ports-gnome-39c4d5b3d59fcfc310bf604748a335dfeda58c98.tar.zst freebsd-ports-gnome-39c4d5b3d59fcfc310bf604748a335dfeda58c98.zip |
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 <makc at issp.ac.ru>
Diffstat (limited to 'x11-fonts/fontmatrix')
-rw-r--r-- | x11-fonts/fontmatrix/Makefile | 59 | ||||
-rw-r--r-- | x11-fonts/fontmatrix/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/fontmatrix/pkg-descr | 8 | ||||
-rw-r--r-- | x11-fonts/fontmatrix/pkg-plist | 4 |
4 files changed, 74 insertions, 0 deletions
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 <makc@issp.ac.ru> +# +# $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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> 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 |