ports/120250: new port: x11-fonts/fontmatrix

Max Brazhnikov makc at issp.ac.ru
Mon Feb 4 12:20:07 UTC 2008


>Number:         120250
>Category:       ports
>Synopsis:       new port: x11-fonts/fontmatrix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 04 12:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Fri Feb  1 17:59:04 MSK 2008     makc at luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
add new port: Fontmatrix -- graphical font manager.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#        fontmatrix
#        fontmatrix/pkg-descr
#        fontmatrix/Makefile
#        fontmatrix/pkg-plist
#        fontmatrix/distinfo
#
echo c - fontmatrix
mkdir -p fontmatrix > /dev/null 2>&1
echo x - fontmatrix/pkg-descr
sed 's/^X//' >fontmatrix/pkg-descr << 'END-of-fontmatrix/pkg-descr'
XFontmatrix is a graphical font manager. Targeted audience are mostly
Xadventurous graphic designers and typesetters who deal with hundreds
Xand even more fonts during their work - browsing the endless lists
Xof font dialogs. Basically, the Fontmatrix helps doing three things:
Xactivation and deactivation of fonts, tagging fonts and fontbook
Xgeneration.
X
XWWW:    http://www.fontmatrix.net
END-of-fontmatrix/pkg-descr
echo x - fontmatrix/Makefile
sed 's/^X//' >fontmatrix/Makefile << 'END-of-fontmatrix/Makefile'
X# New ports collection makefile for:    fontmatrix
X# Date created:         2008-01-13
X# Whom:                 Max Brazhnikov <makc at issp.ac.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       fontmatrix
XDISTVERSION=    0.3.1
XDISTVERSIONSUFFIX=      -Source
XCATEGORIES=     x11-fonts
XMASTER_SITES=   http://www.fontmatrix.net/archives/
X
XMAINTAINER=     makc at issp.ac.ru
XCOMMENT=        A graphical font manager
X
XBUILD_DEPENDS=  ${CMAKE}:${PORTSDIR}/devel/cmake
XRUN_DEPENDS=    ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
X
XUSE_QT_VER=     4
XQT_COMPONENTS=  gui xml moc_build uic_build rcc_build qmake_build
XINSTALLS_ICONS= yes
XMAKE_ENV+=      VERBOSE=1
X
XCMAKE?=         ${LOCALBASE}/bin/cmake
XCMAKE_ARGS=     -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
X                -DCMAKE_C_COMPILER:STRING="${CC}" \
X                -DCMAKE_CXX_COMPILER:STRING="${CXX}" \
X                -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
X                -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
X
XOPTIONS=        FONTFORGE "With FontForge editor" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_FONTFORGE)
XRUN_DEPENDS+=   ${LOCALBASE}/bin/fontforge:${PORTSDIR}/print/fontforge
X.endif
X
Xpost-patch:
X        cd ${WRKSRC}/src && \
X        ${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \
X                        prefs_panel.ui \
X                        typotek.cpp \
X                        messages/fontmatrix_no.ts \
X                        messages/fontmatrix_en.ts \
X                        messages/fontmatrix_nl.ts \
X                        messages/fontmatrix_fr.ts \
X                        messages/fontmatrix_sr.ts \
X                        messages/fontmatrix_sv.ts \
X                        messages/fontmatrix_fi.ts \
X                        messages/fontmatrix_de.ts \
X                        messages/fontmatrix_da.ts
X
Xdo-configure:
X        cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS}
X
X.include <bsd.port.post.mk>
END-of-fontmatrix/Makefile
echo x - fontmatrix/pkg-plist
sed 's/^X//' >fontmatrix/pkg-plist << 'END-of-fontmatrix/pkg-plist'
Xbin/fontmatrix
Xshare/applications/fontmatrix.desktop
Xshare/icons/hicolor/48x48/apps/fontmatrix.png
X at dirrmtry share/applications
END-of-fontmatrix/pkg-plist
echo x - fontmatrix/distinfo
sed 's/^X//' >fontmatrix/distinfo << 'END-of-fontmatrix/distinfo'
XMD5 (fontmatrix-0.3.1-Source.tar.gz) = 173b3354e0e3d03a60e3c1fd1d790b37
XSHA256 (fontmatrix-0.3.1-Source.tar.gz) = 2f4e752b2fa6f1e5406277d4a46989b5b2943deda756a88a45a46b5e66a721c8
XSIZE (fontmatrix-0.3.1-Source.tar.gz) = 455920
END-of-fontmatrix/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list