diff options
author | asau <asau> | 2009-12-12 20:39:56 +0000 |
---|---|---|
committer | asau <asau> | 2009-12-12 20:39:56 +0000 |
commit | 534a0d0935aabdbbb858734155e33dac83af99bb (patch) | |
tree | 380dccf2f0af1aee4c79f9224617ecad568693af /math/gtklife | |
parent | 3f439e95cd174f4a0ccda882365edccde35c718f (diff) | |
download | pkgsrc-534a0d0935aabdbbb858734155e33dac83af99bb.tar.gz |
Support staged installation.
Diffstat (limited to 'math/gtklife')
-rw-r--r-- | math/gtklife/Makefile | 4 | ||||
-rw-r--r-- | math/gtklife/distinfo | 3 | ||||
-rw-r--r-- | math/gtklife/patches/patch-ab | 39 |
3 files changed, 44 insertions, 2 deletions
diff --git a/math/gtklife/Makefile b/math/gtklife/Makefile index 7c888041cb6..1b8d94b6562 100644 --- a/math/gtklife/Makefile +++ b/math/gtklife/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2009/08/26 19:57:59 sno Exp $ +# $NetBSD: Makefile,v 1.12 2009/12/12 20:49:21 asau Exp $ DISTNAME= gtklife-5.1 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ironphoenix.org/tril/gtklife/ COMMENT= The game of life +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-gtk2 CONFIGURE_ARGS+=--with-docdir=${PREFIX}/share/doc/gtklife diff --git a/math/gtklife/distinfo b/math/gtklife/distinfo index be0493b06ae..aeea3b3cee3 100644 --- a/math/gtklife/distinfo +++ b/math/gtklife/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2008/11/02 16:56:15 snj Exp $ +$NetBSD: distinfo,v 1.7 2009/12/12 20:49:21 asau Exp $ SHA1 (gtklife-5.1.tar.gz) = a23aaccaaa327e40cb2fd025d5bbcdcd07dc669e RMD160 (gtklife-5.1.tar.gz) = ad565e98aa622de4a3392add1271ad90209ff17e Size (gtklife-5.1.tar.gz) = 809542 bytes +SHA1 (patch-ab) = c2ca9cf5744788149e224b8c32e730b75eba02b1 diff --git a/math/gtklife/patches/patch-ab b/math/gtklife/patches/patch-ab new file mode 100644 index 00000000000..74acd82c2e1 --- /dev/null +++ b/math/gtklife/patches/patch-ab @@ -0,0 +1,39 @@ +$NetBSD: patch-ab,v 1.1 2009/12/12 20:49:21 asau Exp $ + +Staged installation support. + +--- Makefile.in.orig 2006-09-14 00:55:36.000000000 +0400 ++++ Makefile.in 2009-12-12 23:38:05.000000000 +0300 +@@ -34,21 +34,21 @@ + all: gtklife + + install: all install-data +- $(INSTALL) -d $(bindir) +- $(INSTALL_PROGRAM) gtklife $(bindir) ++ $(INSTALL) -d $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) gtklife $(DESTDIR)$(bindir) + + install-strip: all install-data +- $(INSTALL) -d $(bindir) +- $(INSTALL_STRIP) gtklife $(bindir) ++ $(INSTALL) -d $(DESTDIR)$(bindir) ++ $(INSTALL_STRIP) gtklife $(DESTDIR)$(bindir) + + install-data: +- $(INSTALL) -d $(pkgdatadir) +- $(INSTALL) -d $(pkgdatadir)/graphics +- $(INSTALL_DATA) graphics/* $(pkgdatadir)/graphics +- rm -rf $(pkgdatadir)/patterns +- umask 022; cp -r patterns $(pkgdatadir) +- $(INSTALL) -d $(docdir) +- $(INSTALL_DATA) doc/* $(docdir) ++ $(INSTALL) -d $(DESTDIR)$(pkgdatadir) ++ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/graphics ++ $(INSTALL_DATA) graphics/* $(DESTDIR)$(pkgdatadir)/graphics ++ rm -rf $(DESTDIR)$(pkgdatadir)/patterns ++ umask 022; cp -r patterns $(DESTDIR)$(pkgdatadir) ++ $(INSTALL) -d $(DESTDIR)$(docdir) ++ $(INSTALL_DATA) doc/* $(DESTDIR)$(docdir) + + gtklife: $(OBJS) + $(CC) -o gtklife $(OBJS) $(LDFLAGS) |