aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontmatrix/Makefile13
-rw-r--r--x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake4
-rw-r--r--x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h4
-rw-r--r--x11-fonts/fontmatrix/pkg-descr2
4 files changed, 13 insertions, 10 deletions
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index a4af9b809b4c..f5bddfc645c7 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -10,10 +10,15 @@ 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
@@ -21,10 +26,8 @@ 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 && \
diff --git a/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake b/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake
index b4a4b23becdd..edea542d4bba 100644
--- a/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake
+++ b/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake
@@ -1,5 +1,5 @@
---- 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
diff --git a/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h b/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
index 7cfc1101e302..b3e1fdbd76f7 100644
--- a/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
+++ b/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
@@ -1,5 +1,5 @@
---- ./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
diff --git a/x11-fonts/fontmatrix/pkg-descr b/x11-fonts/fontmatrix/pkg-descr
index 0a5f99b8d582..c9e136f93c8c 100644
--- a/x11-fonts/fontmatrix/pkg-descr
+++ b/x11-fonts/fontmatrix/pkg-descr
@@ -5,4 +5,4 @@ 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/