From 0d427a39aa8bdb6d79f180290087fec83526e4e9 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Sat, 17 Dec 2011 11:27:23 +0000 Subject: - Stop redefining ECHO_MSG and breaking make readmes - Dequote RESTRICTED - Correct use of DISTNAME and EXTRACT_SUFX - Correct use of for variable in do-install PR: ports/163250 Submitted by: Jason Helfman --- chinese/dfsongsd/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'chinese') 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 -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" -- cgit v1.2.3