blob: 27fd36a91e2618cb1c980e70813197f767cd30b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $FreeBSD$
PORTNAME= fontmatrix
DISTVERSION= 0.4.2
DISTVERSIONSUFFIX= -Source
PORTREVISION= 4
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontmatrix.net/archives/
MAINTAINER= makc@FreeBSD.org
COMMENT= A graphical font manager
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT4= gui svg network moc_build uic_build rcc_build qmake_build linguist_build
INSTALLS_ICONS= yes
USES= cmake
OPTIONS_DEFINE= FONTFORGE
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
FONTFORGE_DESC= With FontForge editor
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFONTFORGE}
RUN_DEPENDS+= ${LOCALBASE}/bin/fontforge:${PORTSDIR}/print/fontforge
.endif
post-patch:
cd ${WRKSRC}/src && \
${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \
prefs_panel.ui \
typotek.cpp
pre-configure:
cd ${WRKSRC}/src/messages && \
${LOCALBASE}/bin/lupdate-qt4 -noobsolete ../ -ts *.ts && \
${LOCALBASE}/bin/lrelease-qt4 *.ts
.include <bsd.port.mk>
|