summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 19:12:00 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 19:12:00 +0000
commit0383944715799010c7d01921ab91fc02ab319513 (patch)
tree950deea6baa27e406e7f6b0af1d43dbd2fd05113 /ham
parent9dcdc95ae158b05d6e1c8878f08cc237ef6bb8ed (diff)
downloadpkgsrc-0383944715799010c7d01921ab91fc02ab319513.tar.gz
DESTDIR support
Diffstat (limited to 'ham')
-rw-r--r--ham/tfkiss/Makefile4
-rw-r--r--ham/tfkiss/distinfo5
-rw-r--r--ham/tfkiss/patches/patch-ac15
-rw-r--r--ham/tfkiss/patches/patch-ad17
-rw-r--r--ham/tfkiss/patches/patch-ae17
-rw-r--r--ham/tnt/Makefile3
-rw-r--r--ham/tnt/distinfo3
-rw-r--r--ham/tnt/patches/patch-ae25
8 files changed, 85 insertions, 4 deletions
diff --git a/ham/tfkiss/Makefile b/ham/tfkiss/Makefile
index 41be31580e8..212c0f64dbf 100644
--- a/ham/tfkiss/Makefile
+++ b/ham/tfkiss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:09:42 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2009/02/16 19:19:01 joerg Exp $
#
DISTNAME= tfkiss-1.2.4
@@ -10,6 +10,8 @@ MAINTAINER= wulf@ping.net.au
HOMEPAGE= http://www.bfl.at/mayer/ham/
COMMENT= Software implementation of TheFirmware for use with TNT
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
diff --git a/ham/tfkiss/distinfo b/ham/tfkiss/distinfo
index ecabff788f0..b706f2864fa 100644
--- a/ham/tfkiss/distinfo
+++ b/ham/tfkiss/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.5 2005/12/30 23:06:43 joerg Exp $
+$NetBSD: distinfo,v 1.6 2009/02/16 19:19:01 joerg Exp $
SHA1 (tfkiss-1.2.4.tar.gz) = 4bf8afb539fd155a86de439554f1b5b0ffd45343
RMD160 (tfkiss-1.2.4.tar.gz) = b220afb5940e377957cfebfb8167f183202a89ab
Size (tfkiss-1.2.4.tar.gz) = 142842 bytes
SHA1 (patch-aa) = 25ff7b5753885826e12e53adc440bcba622d008a
SHA1 (patch-ab) = 40ce8e60a0b85e260f0fd45739f2056066034f71
+SHA1 (patch-ac) = 09a09d4ad79043e744c47b74db5bea1a98a368f3
+SHA1 (patch-ad) = 5eee942e01f234a92d10da4147d6ef56ed462c9f
+SHA1 (patch-ae) = 57cd82b32738d5b483ad8182694c7da995cd1fda
diff --git a/ham/tfkiss/patches/patch-ac b/ham/tfkiss/patches/patch-ac
new file mode 100644
index 00000000000..9395ce0049a
--- /dev/null
+++ b/ham/tfkiss/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- src/Makefile.in.orig 2009-02-16 20:15:02.000000000 +0100
++++ src/Makefile.in
+@@ -72,8 +72,8 @@ tfkiss: $(OBJS)
+ $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS) -o tfkiss;
+
+ install:
+- $(MKDIR) ${tfkiss_main_dir}/sbin; \
+- $(INSTALL_PROGRAM) tfkiss ${tfkiss_main_dir}/sbin;
++ $(MKDIR) ${DESTDIR}${tfkiss_main_dir}/sbin; \
++ $(INSTALL_PROGRAM) tfkiss ${DESTDIR}${tfkiss_main_dir}/sbin;
+
+ clean:
+ rm -f *.o *.core tfkiss .depend
diff --git a/ham/tfkiss/patches/patch-ad b/ham/tfkiss/patches/patch-ad
new file mode 100644
index 00000000000..a6a26ef39bc
--- /dev/null
+++ b/ham/tfkiss/patches/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- doc/Makefile.in.orig 2009-02-16 20:15:37.000000000 +0100
++++ doc/Makefile.in
+@@ -15,10 +15,10 @@ DOCS = alas.eng alas.txt copyrght.txt rf
+ all:
+
+ install:
+- $(MKDIR) ${tfkiss_doc_dir}
++ $(MKDIR) ${DESTDIR}${tfkiss_doc_dir}
+ @for i in $(DOCS); \
+ do \
+- $(INSTALL_DATA) $$i ${tfkiss_doc_dir}; \
++ $(INSTALL_DATA) $$i ${DESTDIR}${tfkiss_doc_dir}; \
+ done;
+
+ clean:
diff --git a/ham/tfkiss/patches/patch-ae b/ham/tfkiss/patches/patch-ae
new file mode 100644
index 00000000000..293b963f465
--- /dev/null
+++ b/ham/tfkiss/patches/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- examples/Makefile.in.orig 2009-02-16 20:16:44.000000000 +0100
++++ examples/Makefile.in
+@@ -15,10 +15,10 @@ CFGS = tfkiss.ini tfkiss.cfg
+ all:
+
+ install:
+- $(MKDIR) ${tfkiss_conf_dir}
++ $(MKDIR) ${DESTDIR}${tfkiss_conf_dir}
+ @for i in $(CFGS); \
+ do \
+- $(INSTALL_DATA) $$i ${tfkiss_conf_dir}; \
++ $(INSTALL_DATA) $$i ${DESTDIR}${tfkiss_conf_dir}; \
+ done;
+
+ clean:
diff --git a/ham/tnt/Makefile b/ham/tnt/Makefile
index 9478ee06d6b..119c895cc0d 100644
--- a/ham/tnt/Makefile
+++ b/ham/tnt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/12/09 13:08:42 obache Exp $
+# $NetBSD: Makefile,v 1.25 2009/02/16 19:20:16 joerg Exp $
#
DISTNAME= tnt-1.9.2
@@ -12,6 +12,7 @@ COMMENT= Amateur packet radio terminal program for TNC2, AEA PK232 and PK88
DEPENDS+= dialog>=0.6z:../../misc/dialog
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
diff --git a/ham/tnt/distinfo b/ham/tnt/distinfo
index 5e314117968..27f24b374b4 100644
--- a/ham/tnt/distinfo
+++ b/ham/tnt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2007/12/09 13:08:42 obache Exp $
+$NetBSD: distinfo,v 1.9 2009/02/16 19:20:16 joerg Exp $
SHA1 (tnt-1.9.2.tar.gz) = 8826e7e730c3440113bf723e18bb136e91cef8f8
RMD160 (tnt-1.9.2.tar.gz) = 10e5812715d564f25797ff3d83124ad2b86f2a62
@@ -6,3 +6,4 @@ Size (tnt-1.9.2.tar.gz) = 920883 bytes
SHA1 (patch-aa) = f2b6c9f22ffd4ef418f5aab6ca179d656e0a563c
SHA1 (patch-ac) = 86865198639da69469c2766ec638898553eb7662
SHA1 (patch-ad) = 1735028a7a52cc75f83a3f3c9fd29a06c9dd0153
+SHA1 (patch-ae) = 0f952e74159cd2eed714b7f3ab62bf54c9fbd177
diff --git a/ham/tnt/patches/patch-ae b/ham/tnt/patches/patch-ae
new file mode 100644
index 00000000000..d10012deff4
--- /dev/null
+++ b/ham/tnt/patches/patch-ae
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1 2009/02/16 19:20:16 joerg Exp $
+
+--- po/Makefile.in.in.orig 2009-02-16 20:17:28.000000000 +0100
++++ po/Makefile.in.in
+@@ -111,9 +111,9 @@ 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) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+@@ -123,7 +123,7 @@ install-data-yes: all
+ *) destdir=$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+- dir=$$destdir/$$lang/LC_MESSAGES; \
++ dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \
+ if test -r "$(MKINSTALLDIRS)"; then \
+ $(MKINSTALLDIRS) $$dir; \
+ else \