diff options
Diffstat (limited to 'fonts/freefont-ttf')
-rw-r--r-- | fonts/freefont-ttf/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/fonts/freefont-ttf/Makefile b/fonts/freefont-ttf/Makefile index 6b468923e3a..b5ebed52d0a 100644 --- a/fonts/freefont-ttf/Makefile +++ b/fonts/freefont-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/12/05 20:50:14 rillig Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 20:17:12 jlam Exp $ # DISTNAME= freefont-ttf @@ -12,6 +12,8 @@ COMMENT= Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif DIST_SUBDIR= ${PKGNAME_NOREV} +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_CONFIGURE= yes NO_BUILD= yes @@ -19,10 +21,13 @@ USE_LANGUAGES= # empty INSTALLATION_DIRS= share/fonts/freefont share/doc/freefont do-install: - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/freefont/ - ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/freefont/ - ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/freefont/ + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/freefont/ + ${INSTALL_DATA} ${WRKSRC}/AUTHORS \ + ${DESTDIR}${PREFIX}/share/doc/freefont/ + ${INSTALL_DATA} ${WRKSRC}/CREDITS \ + ${DESTDIR}${PREFIX}/share/doc/freefont/ cd ${WRKSRC}/sfd && \ - ${PAX} -rw Free*.ttf ${PREFIX}/share/fonts/freefont/ + ${PAX} -rw Free*.ttf ${DESTDIR}${PREFIX}/share/fonts/freefont/ .include "../../mk/bsd.pkg.mk" |