summaryrefslogtreecommitdiff
path: root/emulators/generator-cbiere
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/generator-cbiere
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/generator-cbiere')
-rw-r--r--emulators/generator-cbiere/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/emulators/generator-cbiere/Makefile b/emulators/generator-cbiere/Makefile
index 20c598f7be9..f1a69018b2f 100644
--- a/emulators/generator-cbiere/Makefile
+++ b/emulators/generator-cbiere/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/06/12 16:28:06 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 19:21:38 jlam Exp $
#
DISTNAME= generator-0.35-cbiere-r2
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ghostwhitecrab.de/generator/
COMMENT= Sega Mega drive genesis emulator (Improved)
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
.if (${MACHINE_ARCH} == "i386")
@@ -29,9 +31,11 @@ CONFIGURE_ARGS+= --with-sdl-audio
CFLAGS+= -DBYTES_HIGHFIRST
.endif
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main/generator-gtk \
- ${PREFIX}/bin/generator-cbiere-gtk
+ ${DESTDIR}${PREFIX}/bin/generator-cbiere-gtk
.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"