summaryrefslogtreecommitdiff
path: root/print/abcm2ps
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /print/abcm2ps
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'print/abcm2ps')
-rw-r--r--print/abcm2ps/Makefile4
-rw-r--r--print/abcm2ps/distinfo4
-rw-r--r--print/abcm2ps/patches/patch-aa26
3 files changed, 29 insertions, 5 deletions
diff --git a/print/abcm2ps/Makefile b/print/abcm2ps/Makefile
index 3d3468b9686..026f5adf38f 100644
--- a/print/abcm2ps/Makefile
+++ b/print/abcm2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/08/30 20:47:02 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:43 joerg Exp $
DISTNAME= abcm2ps-4.12.25
CATEGORIES= print
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://moinejf.free.fr/
COMMENT= Converts ABC to music sheet in PostScript format
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
BUILD_TARGET= ${PKGBASE}
diff --git a/print/abcm2ps/distinfo b/print/abcm2ps/distinfo
index 275c2da001c..cb9ac68e405 100644
--- a/print/abcm2ps/distinfo
+++ b/print/abcm2ps/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/08/30 20:47:02 minskim Exp $
+$NetBSD: distinfo,v 1.5 2008/06/12 02:14:43 joerg Exp $
SHA1 (abcm2ps-4.12.25.tar.gz) = 454074aa8f54e9a68eb93cb9b1ff15443022114b
RMD160 (abcm2ps-4.12.25.tar.gz) = 3a27cfb539a94ae07840f74cb7bd3ad386c3be63
Size (abcm2ps-4.12.25.tar.gz) = 214245 bytes
-SHA1 (patch-aa) = 01d44b33f560834148fa39d0982873bb6d2f695f
+SHA1 (patch-aa) = 5ffcbbe9d1dfe48ead377d5d25d27dad53d40f48
diff --git a/print/abcm2ps/patches/patch-aa b/print/abcm2ps/patches/patch-aa
index 84b4eba02af..728ab80c134 100644
--- a/print/abcm2ps/patches/patch-aa
+++ b/print/abcm2ps/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2006/06/18 03:01:21 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2008/06/12 02:14:43 joerg Exp $
---- Makefile.in.orig 2005-06-25 03:15:28.000000000 -0700
+--- Makefile.in.orig 2005-06-25 10:15:28.000000000 +0000
+++ Makefile.in
@@ -19,7 +19,7 @@ VPATH = @srcdir@
bindir = @bindir@
@@ -11,3 +11,25 @@ $NetBSD: patch-aa,v 1.1 2006/06/18 03:01:21 minskim Exp $
# unix
OBJECTS=abc2ps.o \
+@@ -32,15 +32,15 @@ $(OBJECTS): abcparse.h abc2ps.h config.h
+ DOCFILES=Changes License README *.abc *.eps *.txt
+
+ install: abcm2ps
+- mkdir -p $(bindir); \
+- mkdir -p $(datadir)/abcm2ps; \
+- mkdir -p $(docdir)/abcm2ps; \
+- $(INSTALL_PROGRAM) abcm2ps $(bindir)
++ mkdir -p $(DESTDIR)$(bindir); \
++ mkdir -p $(DESTDIR)$(datadir)/abcm2ps; \
++ mkdir -p $(DESTDIR)$(docdir)/abcm2ps; \
++ $(INSTALL_PROGRAM) abcm2ps $(DESTDIR)$(bindir)
+ for f in *.fmt; do \
+- $(INSTALL_DATA) $$f $(datadir)/abcm2ps; \
++ $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/abcm2ps; \
+ done
+ for f in $(DOCFILES); do \
+- $(INSTALL_DATA) $$f $(docdir)/abcm2ps; \
++ $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/abcm2ps; \
+ done
+
+ uninstall: