diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-16 23:18:46 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-16 23:18:46 +0000 |
commit | fa0ab7ce902745c2da89c264c288ae961c265612 (patch) | |
tree | 371bc6d2195a6ac7050bc15f13863269ebbf15f1 /x11-fonts/fontmatrix | |
parent | 7394da48091f43a5e9d5ab89e873de6698f9747f (diff) | |
download | ports-fa0ab7ce902745c2da89c264c288ae961c265612.tar.gz ports-fa0ab7ce902745c2da89c264c288ae961c265612.zip |
Notes
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 |