aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-12-17 11:27:23 +0000
committerChris Rees <crees@FreeBSD.org>2011-12-17 11:27:23 +0000
commit0d427a39aa8bdb6d79f180290087fec83526e4e9 (patch)
treef35797d644064911fcb75669d237b6927a21aff8 /chinese
parent21869ddd845c5dd8dec72e8008951d85bad91fdb (diff)
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/dfsongsd/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/chinese/dfsongsd/Makefile b/chinese/dfsongsd/Makefile
index d1f344446499..a375794ab618 100644
--- a/chinese/dfsongsd/Makefile
+++ b/chinese/dfsongsd/Makefile
@@ -10,13 +10,14 @@ PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= chinese x11-fonts
MASTER_SITES= # empty
-DISTNAME= DFSongSd.ttf
-EXTRACT_SUFX=
+DISTNAME= DFSongSd
+EXTRACT_SUFX= .ttf
+EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Chinese (HKSCS-2001 + CJK A) TrueType fonts
-RESTRICTED= "No redistribution or commercial use is allowed."
+RESTRICTED= No redistribution or commercial use is allowed
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -25,22 +26,17 @@ TTF= ${DISTFILES}
.include <bsd.port.pre.mk>
-do-extract:
- @${MKDIR} ${WRKDIR}
-
-do-fetch:
.if !exists (${DISTDIR}/${DISTNAME})
-ECHO_MSG=/usr/bin/printf
-IGNORE=\'s distfile must be downloaded manually from\n\
-\ \ \ \ \ http://glyph.iso10646hk.net/chinese/download_001.jsp If you agree\n\
-\ \ \ \ \ with the terms given in the above page, please download ${DISTNAME},\n\
-\ \ \ \ \ put it into ${DISTDIR} and run \'make\' again\n\n.
+IGNORE= distfile must be downloaded manually from http://glyph.iso10646hk.net/chinese/download_001.jsp. Please download ${DISTNAME} into ${DISTDIR}
.endif
+do-extract:
+ @${MKDIR} ${WRKDIR}
+
do-install:
@${MKDIR} ${FONTSDIR}
.for ttf in ${TTF}
- ${INSTALL_DATA} ${DISTDIR}/${TTF} ${FONTSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${ttf} ${FONTSDIR}
.endfor
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"