svn commit: r425604 - in head/x11-fonts/fontmatrix: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 7 11:06:39 UTC 2016


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 at 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/


More information about the svn-ports-all mailing list