Index: head/x11-fonts/fontmatrix/Makefile =================================================================== --- head/x11-fonts/fontmatrix/Makefile (revision 425603) +++ head/x11-fonts/fontmatrix/Makefile (revision 425604) @@ -1,34 +1,37 @@ # $FreeBSD$ PORTNAME= fontmatrix DISTVERSION= 0.4.2 DISTVERSIONSUFFIX= -Source PORTREVISION= 4 CATEGORIES= x11-fonts MASTER_SITES= http://www.fontmatrix.net/archives/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphical font manager +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libfontconfig.so:x11-fonts/fontconfig USES= cmake -USE_QT4= gui svg network moc_build uic_build rcc_build qmake_build linguisttools_build +USE_QT4= corelib xml gui svg network moc_build uic_build rcc_build qmake_build linguisttools_build INSTALLS_ICONS= yes OPTIONS_DEFINE= FONTFORGE FONTFORGE_DESC= Install FontForge editor FONTFORGE_RUN_DEPENDS= ${LOCALBASE}/bin/fontforge:print/fontforge post-patch: - cd ${WRKSRC}/src && \ - ${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \ - prefs_panel.ui \ - typotek.cpp + @${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \ + ${WRKSRC}/src/prefs_panel.ui ${WRKSRC}/src/typotek.cpp pre-configure: cd ${WRKSRC}/src/messages && \ ${LUPDATE} -noobsolete ../ -ts *.ts && \ ${LRELEASE} *.ts .include Index: head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake =================================================================== --- head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake (revision 425603) +++ head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake (revision 425604) @@ -1,17 +1,17 @@ ---- cmake/modules/FREETYPEConfig.cmake.orig 2008-04-07 22:45:10.000000000 +0200 -+++ cmake/modules/FREETYPEConfig.cmake 2015-12-02 14:40:47.871063000 +0100 +--- cmake/modules/FREETYPEConfig.cmake.orig 2008-04-07 20:45:10 UTC ++++ cmake/modules/FREETYPEConfig.cmake @@ -1,10 +1,10 @@ # # Find the native FREETYPE includes and library # (from Scribus) - FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD ft2build.h - /usr/include/ - /usr/local/include/ - /usr/X11R6/include/ + FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD freetype2/ft2build.h + /usr/include + /usr/local/include + /usr/X11R6/include NO_CMAKE_SYSTEM_PATH ) Index: head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h =================================================================== --- head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h (revision 425603) +++ head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h (revision 425604) @@ -1,11 +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 +--- src/prefspaneldialog.h.orig 2008-04-07 20:45:09 UTC ++++ src/prefspaneldialog.h @@ -12,7 +12,7 @@ #ifndef PREFSPANELDIALOG_H #define PREFSPANELDIALOG_H -#include +#include #include Index: head/x11-fonts/fontmatrix/pkg-descr =================================================================== --- head/x11-fonts/fontmatrix/pkg-descr (revision 425603) +++ head/x11-fonts/fontmatrix/pkg-descr (revision 425604) @@ -1,8 +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 +WWW: http://www.fontmatrix.net/