summaryrefslogtreecommitdiff
path: root/fonts/profont/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/profont/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/profont/Makefile')
-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"