summaryrefslogtreecommitdiff
path: root/fonts/geoslab703-ttf
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
commitd6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/geoslab703-ttf
parent68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff)
downloadpkgsrc-d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6.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')
-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"