diff options
author | rillig <rillig@pkgsrc.org> | 2007-10-09 11:40:30 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-10-09 11:40:30 +0000 |
commit | d00cb82f4e1190c1e1f74cd8085cbc7462de4151 (patch) | |
tree | fae360247a39df32cb3b47fa2ec136413d404f32 | |
parent | 996a2bf60cdef17057745701cd7e973212e9ad51 (diff) | |
download | pkgsrc-d00cb82f4e1190c1e1f74cd8085cbc7462de4151.tar.gz |
Fixed installation by splitting the code into the correct phases.
-rw-r--r-- | fonts/arphic-ttf/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/fonts/arphic-ttf/Makefile b/fonts/arphic-ttf/Makefile index 963261f1e06..6777a65b175 100644 --- a/fonts/arphic-ttf/Makefile +++ b/fonts/arphic-ttf/Makefile @@ -1,41 +1,34 @@ -# $NetBSD: Makefile,v 1.15 2006/02/05 23:09:08 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2007/10/09 11:40:30 rillig Exp $ # DISTNAME= arphic-ttf-2.11 PKGREVISION= 4 CATEGORIES= fonts MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/zh-arphicttf/ -DISTFILES= ${FONT_FILES} ${MISC_FILES} +DISTFILES= ${FONT_FILES:=.gz} ${MISC_FILES} MAINTAINER= rxg@NetBSD.org COMMENT= Chinese TrueType fonts from Arphic Technology -CONFLICTS= arphicttf-* +CONFLICTS= arphicttf-[0-9]* -FONT_FILES= bkai00mp.ttf.gz bsmi00lp.ttf.gz gbsn00lp.ttf.gz gkai00mp.ttf.gz +FONT_FILES= bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf MISC_FILES= ARPHICPL.TXT logo.gif release.txt DIST_SUBDIR= arphic-ttf -EXTRACT_ONLY= # empty +WRKSRC= ${WRKDIR} USE_X11BASE= YES NO_CONFIGURE= YES NO_BUILD= YES -USE_TOOLS+= gunzip - FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF DOCDIR= ${PREFIX}/share/doc/arphic-ttf do-install: ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf} - for f in ${FONT_FILES}; do \ - ${INSTALL_DATA} ${_DISTDIR}/$$f ${FONTS_DIRS.ttf}; \ - ${GUNZIP_CMD} ${FONTS_DIRS.ttf}/$$f; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} ${FONT_FILES} ${FONTS_DIRS.ttf} ${INSTALL_DATA_DIR} ${DOCDIR} - for f in ${MISC_FILES}; do \ - ${INSTALL_DATA} ${_DISTDIR}/$$f ${DOCDIR}; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} ${MISC_FILES} ${DOCDIR} .include "../../mk/bsd.pkg.mk" |