blob: 20a78ea372faddd0a8d9ed80da717db5d2aa8129 (
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
43
44
45
46
|
# Created by: sada
# $FreeBSD$
PORTNAME= mikachan
PORTVERSION= 9.1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://mikachan.sourceforge.jp/
PKGNAMEPREFIX= ja-font-
DISTNAME= ver${PORTVERSION}
EXTRACT_SUFX= .lzh
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= TsurutaniNaoki@gmail.com
COMMENT= Handwritten Japanese TrueType fonts by Mika-chan
EXTRACT_DEPENDS= lha:archivers/lha
USES= fonts:fc
FONTNAME= TTF
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= pq
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mika.ttf
NO_CDROM= Do not sell distfile
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
SUB_FILES= pkg-install
SUB_LIST= DIRFILE="${DATADIR}/fonts.dir"
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
PLIST_FILES= %%DATADIR%%/fonts.dir \
%%DATADIR%%/mika.ttf \
%%FONTSDIR%%/mika.ttf
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} \
${WRKSRC}/mika.ttf ${FILESDIR}/fonts.dir \
${STAGEDIR}${DATADIR}
post-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${STAGEDIR}${FONTSDIR} && \
${LN} -s ../../../${DATADIR_REL}/*.ttf .
.include <bsd.port.mk>
|