blob: 10bf8084f4d010e241a4648bd652cb823b73dd7d (
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
|
# New ports collection makefile for: HLaTeX OCF fonts collection
# Date created: 30 Jun 1999
# Whom: CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= hlatexfonts-ocf
PORTVERSION= 1.0
CATEGORIES= korean print
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/
DISTNAME= ${PORTNAME}
DISTFILES= HLaTeX-Myoungjo-OCF-PS.tar.gz HLaTeX-Gothic-OCF-PS.tar.gz
MAINTAINER= cjh@kr.freebsd.org
COMMENT= HLaTeX(OCF format) fonts collection
BUILD_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
NO_BUILD= YES
do-configure:
.for FAMILY in Myoungjo Gothic
${SED} -e 's@(@(HLaTeX-${FAMILY}\/@' \
< ${WRKDIR}/HLaTeX-${FAMILY}/Fontmap.HLaTeX-${FAMILY} \
> ${WRKDIR}/HLaTeX-${FAMILY}/Fontmap.${FAMILY}
${RM} ${WRKDIR}/HLaTeX-${FAMILY}/Fontmap.HLaTeX-${FAMILY}
.endfor
do-install:
.for FAMILY in Myoungjo Gothic
${MKDIR} ${PREFIX}/share/ghostscript/fonts/HLaTeX-${FAMILY}
.endfor
${CP} ${PREFIX}/share/ghostscript/fonts/Fontmap \
${PREFIX}/share/ghostscript/fonts/HLaTeX-Myoungjo/Fontmap.before
.for FAMILY in Myoungjo Gothic
${INSTALL_DATA} ${WRKDIR}/HLaTeX-${FAMILY}/* \
${PREFIX}/share/ghostscript/fonts/HLaTeX-${FAMILY}/
${CAT} ${WRKDIR}/HLaTeX-${FAMILY}/Fontmap.${FAMILY} \
>> ${PREFIX}/share/ghostscript/fonts/Fontmap
.endfor
.include <bsd.port.mk>
|