pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/gscmxx Fixing DESTDIR support (upon joerg@'s req...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d85e3b49c981
branches: trunk
changeset: 570640:d85e3b49c981
user: sno <sno%pkgsrc.org@localhost>
date: Tue Feb 02 13:00:56 2010 +0000
description:
Fixing DESTDIR support (upon joerg@'s request)
Adding license
diffstat:
comms/gscmxx/Makefile | 8 ++++++--
comms/gscmxx/distinfo | 4 ++--
comms/gscmxx/patches/patch-ab | 19 ++++++++++++++++++-
3 files changed, 26 insertions(+), 5 deletions(-)
diffs (73 lines):
diff -r 3fce7f38ed82 -r d85e3b49c981 comms/gscmxx/Makefile
--- a/comms/gscmxx/Makefile Tue Feb 02 12:43:51 2010 +0000
+++ b/comms/gscmxx/Makefile Tue Feb 02 13:00:56 2010 +0000
@@ -1,20 +1,24 @@
-# $NetBSD: Makefile,v 1.11 2008/10/19 19:17:42 he Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/02 13:00:56 sno Exp $
#
DISTNAME= gscmxx-0.4.1
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= comms x11 perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gscmxx/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://gscmxx.sourceforge.net/
COMMENT= Gtk+ frontend for scmxx
+LICENSE= gnu-gpl-v2
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= p5-gtk>=0.7008:../../x11/p5-gtk
DEPENDS+= p5-Image-Size>=2.92:../../graphics/p5-Image-Size
DEPENDS+= scmxx>=0.6:../../comms/scmxx
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/gscmxx/.packlist
.include "../../lang/perl5/module.mk"
diff -r 3fce7f38ed82 -r d85e3b49c981 comms/gscmxx/distinfo
--- a/comms/gscmxx/distinfo Tue Feb 02 12:43:51 2010 +0000
+++ b/comms/gscmxx/distinfo Tue Feb 02 13:00:56 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2010/01/05 12:18:51 joerg Exp $
+$NetBSD: distinfo,v 1.5 2010/02/02 13:00:56 sno Exp $
SHA1 (gscmxx-0.4.1.tar.gz) = 61d9783d4afe754fb25a6430c8481095371b1c52
RMD160 (gscmxx-0.4.1.tar.gz) = 986bf0611fb2a458ed2791d96f1c10ca945772bb
Size (gscmxx-0.4.1.tar.gz) = 191106 bytes
SHA1 (patch-aa) = 620455eda4f78b28c55dbdefa5cb672cfaa67566
-SHA1 (patch-ab) = d23de2ad08b9d089d7aee89f56e82740dcd6b1a4
+SHA1 (patch-ab) = 625cf703304b49de7cc334dcc3efb2ca3acb9feb
diff -r 3fce7f38ed82 -r d85e3b49c981 comms/gscmxx/patches/patch-ab
--- a/comms/gscmxx/patches/patch-ab Tue Feb 02 12:43:51 2010 +0000
+++ b/comms/gscmxx/patches/patch-ab Tue Feb 02 13:00:56 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2010/01/05 12:18:51 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2010/02/02 13:00:56 sno Exp $
--- Makefile.PL.orig 2002-09-01 12:23:14.000000000 +0000
+++ Makefile.PL
@@ -28,3 +28,20 @@
my $missing_modules = 0;
+@@ -197,12 +198,12 @@ package MY;
+ sub postamble {
+ my $postamble = <<'END';
+ pixmaps ::
+- $(MKPATH) $(PREFIX)/share/pixmaps/gscmxx
+- @$(MOD_INSTALL) ./pixmaps/ $(PREFIX)/share/pixmaps/gscmxx/
++ $(MKPATH) $(DESTDIR)$(PREFIX)/share/pixmaps/gscmxx
++ @$(MOD_INSTALL) ./pixmaps/ $(DESTDIR)$(PREFIX)/share/pixmaps/gscmxx/
+
+ i18n ::
+- $(MKPATH) $(PREFIX)/share/gscmxx/i18n
+- @$(MOD_INSTALL) ./share/i18n/ $(PREFIX)/share/gscmxx/i18n/
++ $(MKPATH) $(DESTDIR)$(PREFIX)/share/gscmxx/i18n
++ @$(MOD_INSTALL) ./share/i18n/ $(DESTDIR)$(PREFIX)/share/gscmxx/i18n/
+
+ END
+ return $postamble;
Home |
Main Index |
Thread Index |
Old Index