diff options
author | crees <crees@FreeBSD.org> | 2011-12-17 19:27:23 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-12-17 19:27:23 +0800 |
commit | 48e7a9ed10149577618b15b6950103162a9e8dec (patch) | |
tree | f70e66c8afb5aa7a293d02fcb7994c7688791f86 /chinese | |
parent | eaecf3435a40dc2da9279b8493eed0c665d46a0c (diff) | |
download | freebsd-ports-gnome-48e7a9ed10149577618b15b6950103162a9e8dec.tar.gz freebsd-ports-gnome-48e7a9ed10149577618b15b6950103162a9e8dec.tar.zst freebsd-ports-gnome-48e7a9ed10149577618b15b6950103162a9e8dec.zip |
- 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 <jhelfman@experts-exchange.com>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/dfsongsd/Makefile | 22 |
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" |