Index: head/x11-fonts/font-manager/Makefile =================================================================== --- head/x11-fonts/font-manager/Makefile (revision 434161) +++ head/x11-fonts/font-manager/Makefile (revision 434162) @@ -1,35 +1,42 @@ # Created by: Zhihao Yuan # $FreeBSD$ PORTNAME= font-manager PORTVERSION= 0.5.7 PORTREVISION= 6 CATEGORIES= x11-fonts gnome -MASTER_SITES= GOOGLE_CODE -MAINTAINER= lichray@gmail.com +MAINTAINER= portmaster@bsdforge.com COMMENT= Font management application for the GNOME desktop LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= Unfetchable (google code has gone away) - -LIB_DEPENDS= libsqlite3.so:databases/sqlite3 +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libsqlite3.so:databases/sqlite3 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +USE_GITHUB= yes +GH_ACCOUNT= FontManager +GH_PROJECT= master + USE_GNOME= pygtk2 GNU_CONFIGURE= yes USES= gmake pkgconfig python:2 tar:bzip2 PORTDATA= * OPTIONS_DEFINE= NLS -OPTIONS_SUB= yes +OPTIONS_SUB= yes -NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext +NLS_USES_OFF= gettext-runtime + +pre-configure: + @${CHMOD} 0544 ${WRKSRC}/configure ${WRKSRC}/po/pogen.sh .include Index: head/x11-fonts/font-manager/distinfo =================================================================== --- head/x11-fonts/font-manager/distinfo (revision 434161) +++ head/x11-fonts/font-manager/distinfo (revision 434162) @@ -1,2 +1,3 @@ -SHA256 (font-manager-0.5.7.tar.bz2) = 794a3d98e50ab7e515d8216ad42300c13b0ec13ab972bdf71c3657de4b306228 -SIZE (font-manager-0.5.7.tar.bz2) = 771460 +TIMESTAMP = 1487073947 +SHA256 (FontManager-master-0.5.7_GH0.tar.gz) = a95f65ef2df03a1dd8989e063a717768d6066f8e86ac9f9550f95f234b29adc3 +SIZE (FontManager-master-0.5.7_GH0.tar.gz) = 818484 Index: head/x11-fonts/font-manager/files/patch-Makefile.in =================================================================== --- head/x11-fonts/font-manager/files/patch-Makefile.in (revision 434161) +++ head/x11-fonts/font-manager/files/patch-Makefile.in (revision 434162) @@ -1,33 +1,33 @@ ---- Makefile.in.orig 2010-12-20 19:01:26.000000000 -0600 -+++ Makefile.in 2011-03-26 00:38:02.410403185 -0500 +--- Makefile.in.orig 2015-05-29 06:45:34 UTC ++++ Makefile.in @@ -552,8 +552,9 @@ compile_po: install_mo: for mo in `$(FIND) po -name $(PACKAGE_NAME).mo`; \ do \ - newpath=$${mo/#po\//$(INST_LOC_DIR)\/}; \ - langdir=$${newpath/%$(PACKAGE_NAME).mo//}; \ + safe_mo=$$mo/ ;\ + newpath=$(INST_LOC_DIR)/$${safe_mo#po/}; \ + langdir=$${newpath%$(PACKAGE_NAME).mo/}; \ $(INSTALL_DIR) $$langdir; \ $(INSTALL_FILE) $$mo $$langdir; \ done @@ -583,12 +584,14 @@ make-install-dirs: $(INSTALL_BIN) $(SRC_DIR)/$(PACKAGE_NAME) $(INST_BIN_DIR)/ $(INSTALL_BIN) $(SRC_DIR)/$(SAMPLER) $(INST_BIN_DIR)/ $(INSTALL_FILE) $(SRC_DIR)/$(DE_FILES) $(INST_APPS_DIR)/ - $(INSTALL_FILE) $(SRC_DIR)/$(PyFiles) $(INST_DATA_DIR)/ - $(INSTALL_FILE) $(SRC_CORE_DIR)/$(PyFiles) $(INST_DATA_DIR)/core/ $(INSTALL_FILE) $(SRC_DATA_DIR)/$(PNG_FILES) $(INST_DATA_DIR)/data/ $(INSTALL_FILE) $(SRC_DATA_DIR)/$(UI_FILES) $(INST_DATA_DIR)/data/ - $(INSTALL_FILE) $(SRC_UI_DIR)/$(PyFiles) $(INST_DATA_DIR)/ui/ - $(INSTALL_FILE) $(SRC_UTILS_DIR)/$(PyFiles) $(INST_DATA_DIR)/utils/ + for pysufx in py pyc pyo; do \ + $(INSTALL_FILE) $(SRC_DIR)/*.$$pysufx $(INST_DATA_DIR)/ ;\ + $(INSTALL_FILE) $(SRC_CORE_DIR)/*.$$pysufx $(INST_DATA_DIR)/core/ ;\ + $(INSTALL_FILE) $(SRC_UI_DIR)/*.$$pysufx $(INST_DATA_DIR)/ui/ ;\ + $(INSTALL_FILE) $(SRC_UTILS_DIR)/*.$$pysufx $(INST_DATA_DIR)/utils/ ;\ + done @$(FIND) help -type f -exec chmod 644 '{}' \; @$(FIND) help -type d -exec chmod 755 '{}' \; cp -Rv help $(INST_DATA_DIR)/ Index: head/x11-fonts/font-manager/files/patch-src-constants.py.in =================================================================== --- head/x11-fonts/font-manager/files/patch-src-constants.py.in (revision 434161) +++ head/x11-fonts/font-manager/files/patch-src-constants.py.in (revision 434162) @@ -1,11 +1,11 @@ ---- src/constants.py.in.orig 2011-09-25 22:42:09.742559932 -0500 -+++ src/constants.py.in 2011-09-25 22:43:06.091693624 -0500 +--- src/constants.py.in.orig 2015-05-29 06:45:34 UTC ++++ src/constants.py.in @@ -51,7 +51,7 @@ import gettext try: locale.setlocale(locale.LC_ALL, '') locale.bindtextdomain(PACKAGE, LOCALEDIR) -except locale.Error: +except: pass gettext.textdomain(PACKAGE) Index: head/x11-fonts/font-manager/files/patch-src_lib_fm-fontutils.c =================================================================== --- head/x11-fonts/font-manager/files/patch-src_lib_fm-fontutils.c (revision 434161) +++ head/x11-fonts/font-manager/files/patch-src_lib_fm-fontutils.c (revision 434162) @@ -1,10 +1,10 @@ ---- src/lib/fm-fontutils.c~ 2010-12-23 21:48:30.000000000 -0600 -+++ src/lib/fm-fontutils.c 2012-05-30 17:04:54.303401685 -0500 +--- src/lib/fm-fontutils.c.orig 2015-05-29 06:45:34 UTC ++++ src/lib/fm-fontutils.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include Index: head/x11-fonts/font-manager/pkg-descr =================================================================== --- head/x11-fonts/font-manager/pkg-descr (revision 434161) +++ head/x11-fonts/font-manager/pkg-descr (revision 434162) @@ -1,9 +1,9 @@ -Font Manager is not intended to be a professional-grade font management -solution, but rather a simple application suitable for the needs of most -desktop users. +Font Manager is not intended to be a professional-grade +font management solution, but rather a simple application +suitable for the needs of most desktop users. -Although designed with the GNOME desktop environment in mind, it should -work well with most major desktop environments such as Xfce, Enlightenment, -and even KDE. +Although designed with the GNOME desktop environment in mind, +it should work well with most major desktop environments such +as Xfce, Enlightenment, and even KDE. -WWW: https://code.google.com/p/font-manager/ +WWW: http://fontmanager.github.io/