summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 23:50:26 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 23:50:26 +0000
commit2ff9815b12f0d01628a7f819ced5e767e23b52d6 (patch)
tree1ee3f20800498240db8a2a67d583bb4c50613c95 /ham
parent838715459142ffd2687e9a19a6fc5eaeee7cb42e (diff)
downloadpkgsrc-2ff9815b12f0d01628a7f819ced5e767e23b52d6.tar.gz
DESTDIR support
Diffstat (limited to 'ham')
-rw-r--r--ham/tlf/Makefile6
-rw-r--r--ham/tlf/distinfo6
-rw-r--r--ham/tlf/patches/patch-ab13
-rw-r--r--ham/tlf/patches/patch-ac27
-rw-r--r--ham/tlf/patches/patch-ad45
-rw-r--r--ham/tlf/patches/patch-ae15
6 files changed, 110 insertions, 2 deletions
diff --git a/ham/tlf/Makefile b/ham/tlf/Makefile
index dce8f9abd0a..2a840380294 100644
--- a/ham/tlf/Makefile
+++ b/ham/tlf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/27 06:47:30 wulf Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/29 23:54:50 joerg Exp $
#
DISTNAME= tlf-0.9.30
@@ -9,6 +9,8 @@ MAINTAINER= wulf@NetBSD.org
HOMEPAGE= http://home.iae.nl/users/reinc/TLF-0.2.html
COMMENT= Advanced hamradio logging and contest program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_NCURSES= yes
USE_TOOLS+= gmake msgfmt
GNU_CONFIGURE= yes
@@ -17,6 +19,8 @@ PTHREAD_AUTO_VARS= yes
CONFIGURE_ARGS+= --enable-hamlib
+INSTALLATION_DIRS+= share/tlf
+
post-patch:
${ECHO} SC_DEVICE=/dev/tty00 >> ${WRKSRC:Q}/share/logcfg.dat
diff --git a/ham/tlf/distinfo b/ham/tlf/distinfo
index 0ddd75cfb77..c03399e804d 100644
--- a/ham/tlf/distinfo
+++ b/ham/tlf/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.5 2006/12/27 06:40:29 wulf Exp $
+$NetBSD: distinfo,v 1.6 2010/01/29 23:54:50 joerg Exp $
SHA1 (tlf-0.9.30.tar.gz) = 11e5d694c1b73c746b0d15b3e975f05fd55b7754
RMD160 (tlf-0.9.30.tar.gz) = d7b952fa202dbe1a3061f653b1eb698ea36188e6
Size (tlf-0.9.30.tar.gz) = 390608 bytes
SHA1 (patch-aa) = 0587a3f36bf0a6620c70a5d3290d6d5384c8c092
+SHA1 (patch-ab) = 4cb7a8ed026d2a9bfed5dbe3ea6ce3d275ffc621
+SHA1 (patch-ac) = dca763b7c9da4ed936fe686972d93f139d99c2e7
+SHA1 (patch-ad) = 8d980f329644f91c2a2b33bd7af9f7f1f75e22c5
+SHA1 (patch-ae) = 4b9203a3e20bba5a074c681dc6b02f827aceca75
diff --git a/ham/tlf/patches/patch-ab b/ham/tlf/patches/patch-ab
new file mode 100644
index 00000000000..ad701c0fb32
--- /dev/null
+++ b/ham/tlf/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2010/01/29 23:54:51 joerg Exp $
+
+--- scripts/Makefile.in.orig 2010-01-29 23:48:05.000000000 +0000
++++ scripts/Makefile.in
+@@ -284,7 +284,7 @@ uninstall-am: uninstall-info-am
+
+
+ install-exec-local:
+- install soundlog $(bindir)
++ install soundlog ${DESTDIR}$(bindir)
+
+ uninstall:
+ rm -f $(bindir)/soundlog
diff --git a/ham/tlf/patches/patch-ac b/ham/tlf/patches/patch-ac
new file mode 100644
index 00000000000..4d2fe3ea450
--- /dev/null
+++ b/ham/tlf/patches/patch-ac
@@ -0,0 +1,27 @@
+$NetBSD: patch-ac,v 1.1 2010/01/29 23:54:51 joerg Exp $
+
+--- share/Makefile.in.orig 2010-01-29 23:48:53.000000000 +0000
++++ share/Makefile.in
+@@ -286,14 +286,14 @@ uninstall-am: uninstall-info-am
+
+
+ install-data-local:
+- install -m 0644 callmaster $(pkgdatadir)
+- install -m 0644 cty.dat $(pkgdatadir)
+- install -m 0644 logcfg.dat $(pkgdatadir)
+- install -m 0644 arrlsections $(pkgdatadir)
+- install -m 0644 ea_sections $(pkgdatadir)
+- install -m 0644 paccmults $(pkgdatadir)
+- install -m 0644 spdxmults $(pkgdatadir)
+- install -m 0644 ssamults $(pkgdatadir)
++ install -m 0644 callmaster ${DESTDIR}$(pkgdatadir)
++ install -m 0644 cty.dat ${DESTDIR}$(pkgdatadir)
++ install -m 0644 logcfg.dat ${DESTDIR}$(pkgdatadir)
++ install -m 0644 arrlsections ${DESTDIR}$(pkgdatadir)
++ install -m 0644 ea_sections ${DESTDIR}$(pkgdatadir)
++ install -m 0644 paccmults ${DESTDIR}$(pkgdatadir)
++ install -m 0644 spdxmults ${DESTDIR}$(pkgdatadir)
++ install -m 0644 ssamults ${DESTDIR}$(pkgdatadir)
+
+ uninstall:
+ rm -rf $(pkgdatadir)
diff --git a/ham/tlf/patches/patch-ad b/ham/tlf/patches/patch-ad
new file mode 100644
index 00000000000..0e0d5fd0294
--- /dev/null
+++ b/ham/tlf/patches/patch-ad
@@ -0,0 +1,45 @@
+$NetBSD: patch-ad,v 1.1 2010/01/29 23:54:51 joerg Exp $
+
+--- rules/Makefile.in.orig 2010-01-29 23:51:09.000000000 +0000
++++ rules/Makefile.in
+@@ -445,23 +445,23 @@ uninstall-info: uninstall-info-recursive
+
+
+ install-data-local:
+- $(mkinstalldirs) $(pkgdatadir)/rules
+- install -m 0644 arrldx_dx $(pkgdatadir)/rules
+- install -m 0644 arrldx_usa $(pkgdatadir)/rules
+- install -m 0644 arrlfd $(pkgdatadir)/rules
+- install -m 0644 arrlss $(pkgdatadir)/rules
+- install -m 0644 cqww $(pkgdatadir)/rules
+- install -m 0644 dxped $(pkgdatadir)/rules
+- install -m 0644 eusprint $(pkgdatadir)/rules
+- install -m 0644 lzdx $(pkgdatadir)/rules
+- install -m 0644 pacc_pa $(pkgdatadir)/rules
+- install -m 0644 pacc_dx $(pkgdatadir)/rules
+- install -m 0644 qso $(pkgdatadir)/rules
+- install -m 0644 spdx_dx $(pkgdatadir)/rules
+- install -m 0644 spdx_sp $(pkgdatadir)/rules
+- install -m 0644 ssa_mt $(pkgdatadir)/rules
+- install -m 0644 template $(pkgdatadir)/rules
+- install -m 0644 wpx $(pkgdatadir)/rules
++ $(mkinstalldirs) ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 arrldx_dx ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 arrldx_usa ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 arrlfd ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 arrlss ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 cqww ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 dxped ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 eusprint ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 lzdx ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 pacc_pa ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 pacc_dx ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 qso ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 spdx_dx ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 spdx_sp ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 ssa_mt ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 template ${DESTDIR}$(pkgdatadir)/rules
++ install -m 0644 wpx ${DESTDIR}$(pkgdatadir)/rules
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/ham/tlf/patches/patch-ae b/ham/tlf/patches/patch-ae
new file mode 100644
index 00000000000..949e0705c92
--- /dev/null
+++ b/ham/tlf/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2010/01/29 23:54:51 joerg Exp $
+
+--- doc/Makefile.in.orig 2010-01-29 23:52:01.000000000 +0000
++++ doc/Makefile.in
+@@ -285,8 +285,8 @@ uninstall-am: uninstall-info-am
+
+
+ install-data-local:
+- $(mkinstalldirs) $(pkgdatadir)/doc
+- install -m 0644 README $(pkgdatadir)/doc
++ $(mkinstalldirs) ${DESTDIR}$(pkgdatadir)/doc
++ install -m 0644 README ${DESTDIR}$(pkgdatadir)/doc
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: