aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gugod-clean/Makefile
blob: 5d3d585f05bc097420f5c4a41105dde85c4eea4a (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
# Created by: Kang-min Liu <gugod@gugod.org>
# $FreeBSD$

PORTNAME=   gugod-clean
PORTVERSION=    1.3
PORTREVISION=   2
CATEGORIES= chinese x11-fonts
MASTER_SITES=   ftp://freebsd.sinica.edu.tw/pub/gugod/

MAINTAINER= gugod@gugod.org
COMMENT=    Pretty font modifyed from X11 schumacher-clean that match kcfonts

RUN_DEPENDS=    bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
RUN_DEPENDS=    mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
        mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale

FONTFILES=  gugod16.bdf gugod18.bdf gugod20.bdf gugod22.bdf

WRKSRC=     ${WRKDIR}
NO_BUILD=   yes
XFONTDIR=   ${LOCALBASE}/lib/X11/fonts/local

do-install:
    @${MKDIR} ${STAGEDIR}${XFONTDIR}
    ${INSTALL_DATA} ${FONTFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${XFONTDIR}

.include <bsd.port.mk>