summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-02-02 13:00:56 +0000
committersno <sno@pkgsrc.org>2010-02-02 13:00:56 +0000
commit41e19f322425b285a498e3e1dc8b6cf5aaac9d53 (patch)
treef67d1cd17df6fb4ff93bb4a7751455099f278a29 /comms
parent9d34b138240c9103f71bbd7277d0110b3e8eb8d9 (diff)
downloadpkgsrc-41e19f322425b285a498e3e1dc8b6cf5aaac9d53.tar.gz
Fixing DESTDIR support (upon joerg@'s request)
Adding license
Diffstat (limited to 'comms')
-rw-r--r--comms/gscmxx/Makefile8
-rw-r--r--comms/gscmxx/distinfo4
-rw-r--r--comms/gscmxx/patches/patch-ab19
3 files changed, 26 insertions, 5 deletions
diff --git a/comms/gscmxx/Makefile b/comms/gscmxx/Makefile
index d2bb27cb942..58a91d57ac2 100644
--- a/comms/gscmxx/Makefile
+++ b/comms/gscmxx/Makefile
@@ -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
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 --git a/comms/gscmxx/distinfo b/comms/gscmxx/distinfo
index 1c8133b26c5..7c21e7159b8 100644
--- a/comms/gscmxx/distinfo
+++ b/comms/gscmxx/distinfo
@@ -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 --git a/comms/gscmxx/patches/patch-ab b/comms/gscmxx/patches/patch-ab
index cd9ba6241e2..e0a63280726 100644
--- a/comms/gscmxx/patches/patch-ab
+++ b/comms/gscmxx/patches/patch-ab
@@ -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 @@ $NetBSD: patch-ab,v 1.1 2010/01/05 12:18:51 joerg Exp $
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;