summaryrefslogtreecommitdiff
path: root/fonts/profont
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/profont
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/profont')
-rw-r--r--fonts/profont/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/fonts/profont/Makefile b/fonts/profont/Makefile
index bbc755405c7..deb6732f859 100644
--- a/fonts/profont/Makefile
+++ b/fonts/profont/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/02/22 19:26:30 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 20:17:12 jlam Exp $
#
DISTNAME= profontlinux
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tobias-jung.de/seekingprofont/
COMMENT= Monospaced bitmap font readable in very small sizes
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
NO_CONFIGURE= yes
USE_X11BASE= yes
@@ -20,6 +22,8 @@ FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/misc
INSTALLATION_DIRS= lib/X11/fonts/misc
do-install:
- for i in ${WRKDIR}/*.pcf; do ${INSTALL_DATA} $$i ${FONTS_DIRS.x11}; done
+ for i in ${WRKDIR}/*.pcf; do \
+ ${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIRS.x11}; \
+ done
.include "../../mk/bsd.pkg.mk"