summaryrefslogtreecommitdiff
path: root/sysutils/855resolution/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-08-25 14:46:29 +0000
committerjoerg <joerg@pkgsrc.org>2008-08-25 14:46:29 +0000
commita592bf0f35352ef57e051fc2700bf3017309a582 (patch)
treea43b47a964f24d5539e3677a7fda71b43a641522 /sysutils/855resolution/Makefile
parent1160ec245f66980672196eb1642c1703f1d9e5d8 (diff)
downloadpkgsrc-a592bf0f35352ef57e051fc2700bf3017309a582.tar.gz
Fix build on amd64, make destdir safe.
Diffstat (limited to 'sysutils/855resolution/Makefile')
-rw-r--r--sysutils/855resolution/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/855resolution/Makefile b/sysutils/855resolution/Makefile
index 0695e37d035..1c5f376d1d2 100644
--- a/sysutils/855resolution/Makefile
+++ b/sysutils/855resolution/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/11/13 15:00:56 obache Exp $
+# $NetBSD: Makefile,v 1.9 2008/08/25 14:46:29 joerg Exp $
#
DISTNAME= 855resolution-0.4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://perso.orange.fr/apoirier/
COMMENT= BIOS VESA resolution utility for 855/865/915 Intel chips
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64 Linux-*-i386
WRKSRC= ${WRKDIR}/855resolution
@@ -22,8 +24,9 @@ USE_TOOLS+= gmake
MAKE_ENV+= EXTRA_LIBS=-l${MACHINE_ARCH}
.endif
+INSTALLATION_DIRS= sbin share/doc/855resolution
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/855resolution
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/855resolution
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/855resolution
.include "../../mk/bsd.pkg.mk"