summaryrefslogtreecommitdiff
path: root/fonts/baekmuk-ttf/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
commitbc422245e5341feeb98a3dc1e616cd7f8355d76e (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/baekmuk-ttf/Makefile
parent3f30d6bfcdccda42cce0a828502a86837a41f1c0 (diff)
downloadpkgsrc-bc422245e5341feeb98a3dc1e616cd7f8355d76e.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/baekmuk-ttf/Makefile')
-rw-r--r--fonts/baekmuk-ttf/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/fonts/baekmuk-ttf/Makefile b/fonts/baekmuk-ttf/Makefile
index 9d9f2f6fa5c..450d25a4bb8 100644
--- a/fonts/baekmuk-ttf/Makefile
+++ b/fonts/baekmuk-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:09:08 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 20:17:11 jlam Exp $
DISTNAME= baekmuk-ttf-2.2
PKGREVISION= 2
@@ -9,6 +9,8 @@ MAINTAINER= yui@yui.pe.kr
HOMEPAGE= http://kldp.net/projects/baekmuk/
COMMENT= Baekmuk family Korean TrueType fonts
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
NO_CONFIGURE= YES
NO_BUILD= YES
@@ -17,9 +19,9 @@ FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
DOCDIR= ${PREFIX}/share/doc/baekmuk-ttf
do-install:
- ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
- ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${FONTS_DIRS.ttf}
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT* ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${FONTS_DIRS.ttf}
+ ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${DESTDIR}${FONTS_DIRS.ttf}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT* ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"