summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 16:27:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 16:27:13 +0000
commit134f7a831762e78481157e10b8185ea09a79ee11 (patch)
tree16e25e32027b1ff46e721ee0f6938b90d53a11f3 /comms
parentb752d06e72c8a727627f65d50c2da73a49db0f4a (diff)
downloadpkgsrc-134f7a831762e78481157e10b8185ea09a79ee11.tar.gz
DESTDIR support
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile4
-rw-r--r--comms/gsmlib/distinfo3
-rw-r--r--comms/gsmlib/patches/patch-ad25
3 files changed, 30 insertions, 2 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index 0e3d9b71cb3..c90d9f7eacf 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/04/13 18:23:30 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2010/01/29 16:27:13 joerg Exp $
#
DISTNAME= gsmlib-1.10
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pxh.de/fs/gsmlib/
COMMENT= Library to access GSM mobile phones through GSM modems or IrDA devices
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake msgfmt
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
diff --git a/comms/gsmlib/distinfo b/comms/gsmlib/distinfo
index f90a8f7d82c..7bd3c92a742 100644
--- a/comms/gsmlib/distinfo
+++ b/comms/gsmlib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2007/10/10 10:28:05 rillig Exp $
+$NetBSD: distinfo,v 1.8 2010/01/29 16:27:13 joerg Exp $
SHA1 (gsmlib-1.10.tar.gz) = 0f329f6185c0dd5221f85ee0af7d95dea23bed8f
RMD160 (gsmlib-1.10.tar.gz) = 8abd1cdb4b61ddbb6fffd3a4100edcc0f079b845
@@ -6,3 +6,4 @@ Size (gsmlib-1.10.tar.gz) = 474591 bytes
SHA1 (patch-aa) = 9b86282d92c91bdc017f6966471de4b3621cf8b5
SHA1 (patch-ab) = 3bfec0d0a3d82c7918e25bc46e83387203b5782b
SHA1 (patch-ac) = aec51370b72ef60c086c3407b889bb54a720e07f
+SHA1 (patch-ad) = 537d1710ad71fd1f2e9b49f6d8c785c33c9e7ee2
diff --git a/comms/gsmlib/patches/patch-ad b/comms/gsmlib/patches/patch-ad
new file mode 100644
index 00000000000..03bc24ff1b4
--- /dev/null
+++ b/comms/gsmlib/patches/patch-ad
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.1 2010/01/29 16:27:13 joerg Exp $
+
+--- po/Makefile.in.in.orig 2010-01-29 16:20:35.000000000 +0000
++++ po/Makefile.in.in
+@@ -113,16 +113,16 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+ else \
+- $(SHELL) ../scripts/mkinstalldirs $(datadir); \
++ $(SHELL) ../scripts/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \