ports/104539: [UPDATE] chinese/fireflyttf: Add LGJ_FONT KNOB (Patch for Taiwanhorn) as default option, take maintainership
chinsan
chinsan at FreeBSD.org
Wed Oct 18 15:10:38 UTC 2006
>Number: 104539
>Category: ports
>Synopsis: [UPDATE] chinese/fireflyttf: Add LGJ_FONT KNOB (Patch for Taiwanhorn) as default option, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 18 15:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6: Thu Sep 14 09:46:10 CST 2006 root at BSD6.giga.hgc.com.tw:/usr/obj/usr/src/sys/GENERIC i386
>Description:
- Add LGJ_FONT KNOB (Patch for Taiwanhorn) as default option
- Take maintainership
>How-To-Repeat:
This patch includes:
http://blog.bs2.to/post/EdwardLee/6223
>Fix:
--- fireflyttf.diff begins here ---
diff -ruN fireflyttf.orig/Makefile fireflyttf/Makefile
--- fireflyttf.orig/Makefile Tue Jul 26 05:58:05 2005
+++ fireflyttf/Makefile Wed Oct 18 22:51:18 2006
@@ -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 at FreeBSD.org
+MAINTAINER= chinsan at 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 @@
${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 -ruN fireflyttf.orig/distinfo fireflyttf/distinfo
--- fireflyttf.orig/distinfo Fri Nov 25 07:01:42 2005
+++ fireflyttf/distinfo Wed Oct 18 22:51:18 2006
@@ -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
--- fireflyttf.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list