From 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- time/glclock/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'time/glclock') diff --git a/time/glclock/Makefile b/time/glclock/Makefile index 8e79ff3a862..8c57f9d91cb 100644 --- a/time/glclock/Makefile +++ b/time/glclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/02/01 18:48:15 drochner Exp $ +# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:39 joerg Exp $ # DISTNAME= glclock-6.0b6.0 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.daionet.gr.jp/~masa/glclock/ COMMENT= OpenGL-based pocket watch +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ MAKE_FILE= makefile @@ -25,7 +27,7 @@ CFLAGS= INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/glclock ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/glclock ${DESTDIR}${PREFIX}/bin #notyet: lookup of .ppm files # for i in benchclock crystalclock marbleclock metalclock \ # mwclock woodclock;do \ -- cgit v1.2.3