pkgsrc/fonts/adobe-cidfonts/Makefile
jlam d6ccf8cf66 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 20:17:11 +00:00

52 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2008/03/03 20:17:11 jlam Exp $
DISTNAME= adobe-cidfonts-20000901
CATEGORIES= fonts
MASTER_SITES= ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Adobe CID-keyed O'Reilly fonts for CJK
DIST_SUBDIR= ${PKGBASE}
DISTFILES= MOEKai-Regular MOEKai-Regular.afm
DISTFILES+= MOESung-Regular MOESung-Regular.afm
DISTFILES+= Munhwa-Bold Munhwa-Bold.afm
DISTFILES+= Munhwa-Regular Munhwa-Regular.afm
DISTFILES+= MunhwaGothic-Bold MunhwaGothic-Bold.afm
DISTFILES+= MunhwaGothic-Regular MunhwaGothic-Regular.afm
DISTFILES+= MunhwaGungSeo-Bold MunhwaGungSeo-Bold.afm
DISTFILES+= MunhwaGungSeo-Light MunhwaGungSeo-Light.afm
DISTFILES+= MunhwaGungSeoHeulim-Bold MunhwaGungSeoHeulim-Bold.afm
DISTFILES+= MunhwaGungSeoHeulim-Light MunhwaGungSeoHeulim-Light.afm
DISTFILES+= MunhwaHoonMin-Regular MunhwaHoonMin-Regular.afm
DISTFILES+= WadaGo-Bold WadaGo-Bold.afm
DISTFILES+= WadaMaruGo-Regular WadaMaruGo-Regular.afm
DISTFILES+= WadaMaruGo-RegularH WadaMaruGo-RegularH.afm
DISTFILES+= WadaMin-Bold WadaMin-Bold.afm
DISTFILES+= WadaMin-Regular WadaMin-Regular.afm
DISTFILES+= WadaMin-RegularH WadaMin-RegularH.afm
PKG_DESTDIR_SUPPORT= user-destdir
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
RESOURCESUBDIR= share/Adobe/Resource
RESOURCEDIR= ${PREFIX}/${RESOURCESUBDIR}
GENERATE_PLIST= \
for f in ${DISTFILES:O:u}; do \
${ECHO} ${RESOURCESUBDIR}/CIDFont/$$f; \
done; \
${ECHO} "@dirrm ${RESOURCESUBDIR}/CIDFont"; \
${ECHO} "@unexec ${RMDIR} -p %D/${RESOURCESUBDIR} 2>/dev/null || ${TRUE}";
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${RESOURCEDIR}/CIDFont
for file in ${DISTFILES}; do \
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$${file} \
${DESTDIR}${RESOURCEDIR}/CIDFont; \
done
.include "../../mk/bsd.pkg.mk"