summaryrefslogtreecommitdiff
path: root/x11/modeline
diff options
context:
space:
mode:
Diffstat (limited to 'x11/modeline')
-rw-r--r--x11/modeline/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/modeline/Makefile b/x11/modeline/Makefile
index a3b8bf822a7..0cdfb383fbc 100644
--- a/x11/modeline/Makefile
+++ b/x11/modeline/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/22 19:01:27 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/07/07 18:22:43 joerg Exp $
DISTNAME= modeline_vfr.c
PKGNAME= modeline-20001121
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bohne-lang.de/spec/linux/modeline/
COMMENT= Calculates XF86 Modelines to configure your monitor for X11R6
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/modeline
INSTALLATION_DIRS= bin
@@ -21,6 +23,6 @@ do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"