summaryrefslogtreecommitdiff
path: root/fonts/geoslab703-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/geoslab703-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/geoslab703-ttf/Makefile')
-rw-r--r--fonts/geoslab703-ttf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/geoslab703-ttf/Makefile b/fonts/geoslab703-ttf/Makefile
index f3c1cb348c0..8005ce2b332 100644
--- a/fonts/geoslab703-ttf/Makefile
+++ b/fonts/geoslab703-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:39 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 20:17:12 jlam Exp $
#
DISTNAME= geoslab703-ttf-20010522
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.will-harris.com/fonts/freefonts.htm
COMMENT= Free TrueType fonts from Bitstream, useful for web viewing
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= geoslab703-ttf
EXTRACT_ONLY= # empty
@@ -21,7 +23,7 @@ NO_BUILD= YES
FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
do-install:
- ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
- ${INSTALL_DATA} ${_DISTDIR}/*.ttf ${FONTS_DIRS.ttf}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${FONTS_DIRS.ttf}
+ ${INSTALL_DATA} ${_DISTDIR}/*.ttf ${DESTDIR}${FONTS_DIRS.ttf}
.include "../../mk/bsd.pkg.mk"