aboutsummaryrefslogtreecommitdiff
path: root/chinese/fireflyttf
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2006-10-31 03:31:46 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2006-10-31 03:31:46 +0000
commitdd2b2535b7383d3bee71358497d4bf01a2c4fbc6 (patch)
treec256778412f3c92df0ccbb5ea8417b51211f0b2d /chinese/fireflyttf
parentff6bd9173c961b589260dd58a93f1a88bdfcd715 (diff)
downloadports-dd2b2535b7383d3bee71358497d4bf01a2c4fbc6.tar.gz
ports-dd2b2535b7383d3bee71358497d4bf01a2c4fbc6.zip
- Add LGJ_FONT KNOB (Patch for Taiwanhorn) as default option
- Take maintainership PR: ports/104539 Submitted by: chinsan@
Notes
Notes: svn path=/head/; revision=175636
Diffstat (limited to 'chinese/fireflyttf')
-rw-r--r--chinese/fireflyttf/Makefile28
-rw-r--r--chinese/fireflyttf/distinfo3
2 files changed, 27 insertions, 4 deletions
diff --git a/chinese/fireflyttf/Makefile b/chinese/fireflyttf/Makefile
index 958960ed31c2..0a697dd6f226 100644
--- a/chinese/fireflyttf/Makefile
+++ b/chinese/fireflyttf/Makefile
@@ -7,25 +7,46 @@
PORTNAME= fireflyttf
PORTVERSION= 1.3.0
+PORTREVISION= 1
CATEGORIES= chinese x11-fonts
-MASTER_SITES= http://firefly.idv.tw/apt/firefly-font/ \
+MASTER_SITES?= http://firefly.idv.tw/apt/firefly-font/ \
http://www.study-area.org/apt/firefly-font/
-DISTNAME= fireflysung-${PORTVERSION}
+DISTNAME?= fireflysung-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= chinsan@FreeBSD.org
COMMENT= Firefly TrueType Font is combine of two arphic sung fonts
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
+OPTIONS= LGJ_FONT "Patch for Taiwan horn" on
TTF= fireflysung.ttf
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_LGJ_FONT)
+.else
+PKGNAMESUFFIX+= -LGJ
+MASTER_SITES= http://edt1023.sayya.org/fonts/
+DISTNAME= fireflysung-1.3.0p1
+.endif
+
.if !defined(WITHOUT_X11)
PLIST_SUB+= X11=""
.else
PLIST_SUB+= X11="@comment "
.endif
+post-extract:
+.if defined(WITHOUT_LGJ_FONT)
+ @${DO_NADA}
+.else
+ @${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
+.endif
+
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/${TTF} ${FONTSDIR}
@@ -34,6 +55,5 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${X11BASE}/etc/fonts/local.conf
.endif
-.include <bsd.port.pre.mk>
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
.include <bsd.port.post.mk>
diff --git a/chinese/fireflyttf/distinfo b/chinese/fireflyttf/distinfo
index dd137d62e4f1..30807c527e23 100644
--- a/chinese/fireflyttf/distinfo
+++ b/chinese/fireflyttf/distinfo
@@ -1,3 +1,6 @@
MD5 (fireflysung-1.3.0.tar.gz) = 99721b834ed2e84400325815deead878
SHA256 (fireflysung-1.3.0.tar.gz) = 46e1cb4a5a7710463b2451bffb83521d94886071e817074f7b56aeaf62a660da
SIZE (fireflysung-1.3.0.tar.gz) = 7116218
+MD5 (fireflysung-1.3.0p1.tar.gz) = 231870e411d5df7e3badda0005c489e8
+SHA256 (fireflysung-1.3.0p1.tar.gz) = 93404a373d535e990385119cf2e207215525153907b52e2c1d4ca8e9b92be96c
+SIZE (fireflysung-1.3.0p1.tar.gz) = 7072268