aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gugod-clean/Makefile
blob: 8d5ef440a8438450179948ab8e5ea3ee972ca9d7 (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
# 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
SHAREMODE=  644
XFONTDIR=   ${LOCALBASE}/lib/X11/fonts/local

NO_STAGE=   yes
do-install:
    @${MKDIR} ${XFONTDIR}
.for i in ${FONTFILES}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${XFONTDIR}
.endfor
    @cd ${XFONTDIR} ; mkfontdir

.include <bsd.port.mk>