summaryrefslogtreecommitdiff
path: root/www/snownews
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-10-26 12:44:21 +0000
committertonio <tonio@pkgsrc.org>2005-10-26 12:44:21 +0000
commit6b5ff3183f3edc9847dd5637fdfa3640c66e8f22 (patch)
tree0e4cccab532849c3af8ed2bf371408bf8a7f6448 /www/snownews
parentc439d814043e9a1db9ea233ad8a3bb50053a2ea8 (diff)
downloadpkgsrc-6b5ff3183f3edc9847dd5637fdfa3640c66e8f22.tar.gz
Use the configure script
Fix perl path for configure and scripts, and add dependency for opml2snow over p5-XML-LibXML Bump PKGREVISION
Diffstat (limited to 'www/snownews')
-rw-r--r--www/snownews/Makefile14
-rw-r--r--www/snownews/distinfo3
-rw-r--r--www/snownews/patches/patch-aa13
3 files changed, 25 insertions, 5 deletions
diff --git a/www/snownews/Makefile b/www/snownews/Makefile
index d2161de8807..f4c0b6e0ac2 100644
--- a/www/snownews/Makefile
+++ b/www/snownews/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2005/10/22 22:06:21 tonio Exp $
+# $NetBSD: Makefile,v 1.20 2005/10/26 12:44:21 tonio Exp $
DISTNAME= snownews-1.5.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://kiza.kcore.de/software/snownews/download/
@@ -9,14 +9,20 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://kiza.kcore.de/software/snownews/
COMMENT= Small, curses based RSS feed reader
+DEPENDS+= p5-XML-LibXML>=1.58:../../textproc/p5-XML-LibXML
USE_MSGFMT_PLURALS= YES
BUILD_USES_MSGFMT= YES
+HAS_CONFIGURE= YES
USE_NCURSES= # missing WA_BOLD, WA_REVERSE, KEY_RESIZE
USE_PKGLOCALEDIR= YES
+USE_TOOLS+= perl:run
-MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
-MAKE_ENV+= EXTRA_CFLAGS=${CFLAGS:Q} LOCALBASE=${LOCALBASE:Q}
+REPLACE_PERL+= configure opml2snow snowsync
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+MAKE_ENV+= PKG_LOCALEDIR=${PKGLOCALEDIR:Q}
+MAKE_ENV+= EXTRA_CFLAGS=${CFLAGS:Q}
# XXX -lintl hack suggested by Jeremy C. Reed: blocking on PR #23369
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/www/snownews/distinfo b/www/snownews/distinfo
index 683a7a1d673..82ed9cb10b8 100644
--- a/www/snownews/distinfo
+++ b/www/snownews/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2005/10/22 22:06:21 tonio Exp $
+$NetBSD: distinfo,v 1.9 2005/10/26 12:44:21 tonio Exp $
SHA1 (snownews-1.5.7.tar.gz) = d732c056d8c193339cae4c07dfaf0093607c90c0
RMD160 (snownews-1.5.7.tar.gz) = 5aa839bb92a8ee51b2b1fda74ddf22279665061b
Size (snownews-1.5.7.tar.gz) = 161504 bytes
+SHA1 (patch-aa) = 6dd14f7f9baaecc51b0cd74f6e433396e4025a38
SHA1 (patch-ac) = 1083665b2a989f51227866d61ca44c208d2a3721
diff --git a/www/snownews/patches/patch-aa b/www/snownews/patches/patch-aa
new file mode 100644
index 00000000000..5b073e5d86d
--- /dev/null
+++ b/www/snownews/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.6 2005/10/26 12:44:21 tonio Exp $
+
+--- configure.orig 2005-06-05 11:50:22.000000000 +0200
++++ configure
+@@ -5,7 +5,7 @@ use strict;
+
+ # The defaults. Change here if you need.
+ my($prefix) = "/usr/local";
+-my($cflags) = '-Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) ';
++my($cflags) = '-Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"`uname`\" `xml2-config --cflags` $(EXTRA_CFLAGS) ';
+ my($ldflags) = '-lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) ';
+
+ parse_cmdl_line();