summaryrefslogtreecommitdiff
path: root/misc/open2300
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-04 17:29:59 +0000
committerjoerg <joerg>2010-02-04 17:29:59 +0000
commit21051ae0be78be49ac7e3ff5d11a602e021137f2 (patch)
tree59e92fcc6d87fcbeb773696266127f4f3af0d107 /misc/open2300
parent46fa4618cc79eefa2ca3aefd76e08f614b51f155 (diff)
downloadpkgsrc-21051ae0be78be49ac7e3ff5d11a602e021137f2.tar.gz
DESTDIR support
Diffstat (limited to 'misc/open2300')
-rw-r--r--misc/open2300/Makefile6
-rw-r--r--misc/open2300/Makefile.common5
-rw-r--r--misc/open2300/distinfo4
-rw-r--r--misc/open2300/patches/patch-aa30
4 files changed, 26 insertions, 19 deletions
diff --git a/misc/open2300/Makefile b/misc/open2300/Makefile
index 75b2915740e..da3fb1331f3 100644
--- a/misc/open2300/Makefile
+++ b/misc/open2300/Makefile
@@ -1,6 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/10 08:19:46 martin Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/04 17:37:51 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
+
COMMENT= WS 23xx weather station support software
+INSTALLATION_DIRS+= bin
+
.include "Makefile.common"
diff --git a/misc/open2300/Makefile.common b/misc/open2300/Makefile.common
index 4d6233fe3cd..1d6f1c778f6 100644
--- a/misc/open2300/Makefile.common
+++ b/misc/open2300/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2005/07/31 13:35:37 grant Exp $
+# $NetBSD: Makefile.common,v 1.6 2010/02/04 17:37:51 joerg Exp $
#
DISTNAME= open2300-1.8
@@ -8,4 +8,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open2300/}
MAINTAINER= martin@NetBSD.org
HOMEPAGE= http://open2300.sourceforge.net/
+PATCHDIR= ${.CURDIR}/../open2300/patches
+DISTINFO_FILE= ${.CURDIR}/../open2300/distinfo
+
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/open2300/distinfo b/misc/open2300/distinfo
index 09c92f955cb..b0763b14d16 100644
--- a/misc/open2300/distinfo
+++ b/misc/open2300/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/07/31 14:03:28 grant Exp $
+$NetBSD: distinfo,v 1.8 2010/02/04 17:37:51 joerg Exp $
SHA1 (open2300-1.8.tar.gz) = 86fd2dcdef995498ed17062dd4b8df5db6b3383d
RMD160 (open2300-1.8.tar.gz) = d0b7618cfa7d0ea92708d949fd4521311627865f
Size (open2300-1.8.tar.gz) = 330320 bytes
-SHA1 (patch-aa) = 9bdd5011c60b2af676d9f86b96e18d67cad6bf0d
+SHA1 (patch-aa) = b008ae36711b3f0543555d6cc00afa3a03c04d67
SHA1 (patch-ab) = 9437137a36e434fcabde6acc5373be04523357e9
SHA1 (patch-ac) = 48762f4c60ca475031659cad94701a1bc83b6795
diff --git a/misc/open2300/patches/patch-aa b/misc/open2300/patches/patch-aa
index 8d69da42ebe..3f82a3687df 100644
--- a/misc/open2300/patches/patch-aa
+++ b/misc/open2300/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2005/07/31 14:03:28 grant Exp $
+$NetBSD: patch-aa,v 1.5 2010/02/04 17:37:51 joerg Exp $
--- Makefile.orig 2004-11-13 11:25:31.000000000 +1100
+++ Makefile
@@ -53,22 +53,22 @@ $NetBSD: patch-aa,v 1.4 2005/07/31 14:03:28 grant Exp $
- $(INSTALL) interval2300 $(bindir)
- $(INSTALL) minmax2300 $(bindir)
-
-+ ${BSD_INSTALL_PROGRAM} open2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} dump2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} log2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} fetch2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} wu2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} cw2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} histlog2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} xml2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} light2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} interval2300 $(bindir)
-+ ${BSD_INSTALL_PROGRAM} minmax2300 $(bindir)
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/examples/open2300
-+ ${BSD_INSTALL_DATA} open2300-dist.conf ${PREFIX}/share/examples/open2300/open2300.conf
++ ${BSD_INSTALL_PROGRAM} open2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} dump2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} log2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} fetch2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} wu2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} cw2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} histlog2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} xml2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} light2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} interval2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_PROGRAM} minmax2300 ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/open2300
++ ${BSD_INSTALL_DATA} open2300-dist.conf ${DESTDIR}${PREFIX}/share/examples/open2300/open2300.conf
+
+install-mysql:
-+ ${BSD_INSTALL_PROGRAM} mysql2300 $(bindir)
++ ${BSD_INSTALL_PROGRAM} mysql2300 ${DESTDIR}$(bindir)
+
uninstall:
rm -f $(bindir)/open2300 $(bindir)/dump2300 $(bindir)/log2300 $(bindir)/fetch2300 $(bindir)/wu2300 $(bindir)/cw2300 $(bindir)/xml2300 $(bindir)/light2300 $(bindir)/interval2300 $(bindir)/minmax2300