aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/opendesktop-fonts
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2006-10-31 11:31:46 +0800
committervanilla <vanilla@FreeBSD.org>2006-10-31 11:31:46 +0800
commitfc1bec78634223814335823cfb0180813d380958 (patch)
tree30d864d20d7b1468ea3d926d897904c2eedf7d85 /chinese/opendesktop-fonts
parent5be89919956f5fc2c4ddc31621c033d4a7acad49 (diff)
downloadfreebsd-ports-gnome-fc1bec78634223814335823cfb0180813d380958.tar.gz
freebsd-ports-gnome-fc1bec78634223814335823cfb0180813d380958.tar.zst
freebsd-ports-gnome-fc1bec78634223814335823cfb0180813d380958.zip
- Add LGJ_FONT KNOB (Patch for Taiwanhorn) as default option
- Take maintainership PR: ports/104539 Submitted by: chinsan@
Diffstat (limited to 'chinese/opendesktop-fonts')
-rw-r--r--chinese/opendesktop-fonts/Makefile28
-rw-r--r--chinese/opendesktop-fonts/distinfo3
2 files changed, 27 insertions, 4 deletions
diff --git a/chinese/opendesktop-fonts/Makefile b/chinese/opendesktop-fonts/Makefile
index 958960ed31c2..0a697dd6f226 100644
--- a/chinese/opendesktop-fonts/Makefile
+++ b/chinese/opendesktop-fonts/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/opendesktop-fonts/distinfo b/chinese/opendesktop-fonts/distinfo
index dd137d62e4f1..30807c527e23 100644
--- a/chinese/opendesktop-fonts/distinfo
+++ b/chinese/opendesktop-fonts/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