diff options
author | vanilla <vanilla@FreeBSD.org> | 2006-10-31 11:31:46 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2006-10-31 11:31:46 +0800 |
commit | fc1bec78634223814335823cfb0180813d380958 (patch) | |
tree | 30d864d20d7b1468ea3d926d897904c2eedf7d85 /chinese | |
parent | 5be89919956f5fc2c4ddc31621c033d4a7acad49 (diff) | |
download | freebsd-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')
-rw-r--r-- | chinese/fireflyttf/Makefile | 28 | ||||
-rw-r--r-- | chinese/fireflyttf/distinfo | 3 | ||||
-rw-r--r-- | chinese/opendesktop-fonts/Makefile | 28 | ||||
-rw-r--r-- | chinese/opendesktop-fonts/distinfo | 3 |
4 files changed, 54 insertions, 8 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 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 |