Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 11:06:38 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425604 - in head/x11-fonts/fontmatrix: . files
Message-ID:  <201611071106.uA7B6c48091109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov  7 11:06:38 2016
New Revision: 425604
URL: https://svnweb.freebsd.org/changeset/ports/425604

Log:
  - Add LICENSE
  - Add missing depends
  - Regenerate patches
  - Fix WWW:

Modified:
  head/x11-fonts/fontmatrix/Makefile
  head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake
  head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
  head/x11-fonts/fontmatrix/pkg-descr

Modified: head/x11-fonts/fontmatrix/Makefile
==============================================================================
--- head/x11-fonts/fontmatrix/Makefile	Mon Nov  7 10:48:17 2016	(r425603)
+++ head/x11-fonts/fontmatrix/Makefile	Mon Nov  7 11:06:38 2016	(r425604)
@@ -10,10 +10,15 @@ MASTER_SITES=	http://www.fontmatrix.net/
 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 && \

Modified: head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake
==============================================================================
--- head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake	Mon Nov  7 10:48:17 2016	(r425603)
+++ head/x11-fonts/fontmatrix/files/patch-cmake__modules__FREETYPEConfig.cmake	Mon Nov  7 11:06:38 2016	(r425604)
@@ -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

Modified: head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h
==============================================================================
--- head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h	Mon Nov  7 10:48:17 2016	(r425603)
+++ head/x11-fonts/fontmatrix/files/patch-src__prefspaneldialog.h	Mon Nov  7 11:06:38 2016	(r425604)
@@ -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

Modified: head/x11-fonts/fontmatrix/pkg-descr
==============================================================================
--- head/x11-fonts/fontmatrix/pkg-descr	Mon Nov  7 10:48:17 2016	(r425603)
+++ head/x11-fonts/fontmatrix/pkg-descr	Mon Nov  7 11:06:38 2016	(r425604)
@@ -5,4 +5,4 @@ of font dialogs. Basically, the Fontmatr
 activation and deactivation of fonts, tagging fonts and fontbook
 generation.
 
-WWW:    http://www.fontmatrix.net
+WWW: http://www.fontmatrix.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611071106.uA7B6c48091109>