diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:21:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:21:47 +0000 |
commit | 46c823cbded95973cb0b1d73a96d63a4cb2275c8 (patch) | |
tree | 001596c8d824751dd151f3e0b729ae9cf3a5f2ab /x11/modeline | |
parent | ff14ed19f71ddc2b9cdabcdf2bb89523f0cbd30e (diff) | |
download | pkgsrc-46c823cbded95973cb0b1d73a96d63a4cb2275c8.tar.gz |
user-destdir support
Diffstat (limited to 'x11/modeline')
-rw-r--r-- | x11/modeline/Makefile | 6 |
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" |