2013-06-19 16:47:19 +02:00
|
|
|
# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
2004-09-03 17:53:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fireflyttf
|
2005-05-01 06:51:24 +02:00
|
|
|
PORTVERSION= 1.3.0
|
2013-06-19 19:05:08 +02:00
|
|
|
PORTREVISION= 5
|
2004-09-03 17:53:09 +02:00
|
|
|
CATEGORIES= chinese x11-fonts
|
2006-10-31 04:31:46 +01:00
|
|
|
MASTER_SITES?= http://firefly.idv.tw/apt/firefly-font/ \
|
2005-05-06 17:38:06 +02:00
|
|
|
http://www.study-area.org/apt/firefly-font/
|
2006-10-31 04:31:46 +01:00
|
|
|
DISTNAME?= fireflysung-${PORTVERSION}
|
2004-09-03 17:53:09 +02:00
|
|
|
|
2009-08-28 19:37:26 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-09-03 17:53:09 +02:00
|
|
|
COMMENT= Firefly TrueType Font is combine of two arphic sung fonts
|
|
|
|
|
2007-03-18 07:12:20 +01:00
|
|
|
CONFLICTS= zh-opendesktop-fonts-*
|
|
|
|
|
2004-09-03 17:53:09 +02:00
|
|
|
NO_BUILD= yes
|
2005-05-01 06:51:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2004-09-03 17:53:09 +02:00
|
|
|
|
2005-05-01 06:51:24 +02:00
|
|
|
TTF= fireflysung.ttf
|
2014-07-18 20:41:53 +02:00
|
|
|
PLIST_FILES= ${FONTSDIR_REL}/local.conf-sung
|
|
|
|
|
|
|
|
OPTIONS_DEFAULT+=LGJ_FONT
|
2005-02-19 14:51:50 +01:00
|
|
|
|
2006-10-31 04:31:46 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2014-07-18 20:41:53 +02:00
|
|
|
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
|
|
|
|
|
|
|
|
OPTIONS_DEFINE+=LGJ_FONT
|
|
|
|
LGJ_FONT_DESC= Patch for Taiwan horn
|
2006-10-31 04:31:46 +01:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.if ${PORT_OPTIONS:MLGJ_FONT}
|
2006-10-31 04:31:46 +01:00
|
|
|
PKGNAMESUFFIX+= -LGJ
|
|
|
|
MASTER_SITES= http://edt1023.sayya.org/fonts/
|
|
|
|
DISTNAME= fireflysung-1.3.0p1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
2012-06-29 14:42:04 +02:00
|
|
|
.if ${PORT_OPTIONS:MLGJ_FONT}
|
2006-10-31 04:31:46 +01:00
|
|
|
@${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/fireflysung-1.3.0p1.tar.gz \
|
|
|
|
fireflysung-1.3.0p1/fireflysung.ttf
|
|
|
|
@${MV} ${WRKSRC}/fireflysung-1.3.0p1/fireflysung.ttf ${WRKSRC}
|
|
|
|
@${RM} -rf ${WRKSRC}/fireflysung-1.3.0p1
|
2012-06-29 14:42:04 +02:00
|
|
|
.else
|
|
|
|
${DO_NADA}
|
2006-10-31 04:31:46 +01:00
|
|
|
.endif
|
|
|
|
|
2004-09-03 17:53:09 +02:00
|
|
|
do-install:
|
2014-07-18 20:41:53 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
2014-07-05 07:28:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${TTF} ${STAGEDIR}${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${STAGEDIR}${FONTSDIR}
|
2004-09-03 17:53:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|