pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/snownews Use the configure script



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92232748f371
branches:  trunk
changeset: 501702:92232748f371
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Wed Oct 26 12:44:21 2005 +0000

description:
Use the configure script
Fix perl path for configure and scripts, and add dependency for opml2snow over
p5-XML-LibXML

Bump PKGREVISION

diffstat:

 www/snownews/Makefile         |  14 ++++++++++----
 www/snownews/distinfo         |   3 ++-
 www/snownews/patches/patch-aa |  13 +++++++++++++
 3 files changed, 25 insertions(+), 5 deletions(-)

diffs (65 lines):

diff -r a19f739017f2 -r 92232748f371 www/snownews/Makefile
--- a/www/snownews/Makefile     Wed Oct 26 11:56:12 2005 +0000
+++ b/www/snownews/Makefile     Wed Oct 26 12:44:21 2005 +0000
@@ -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 @@
 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 -r a19f739017f2 -r 92232748f371 www/snownews/distinfo
--- a/www/snownews/distinfo     Wed Oct 26 11:56:12 2005 +0000
+++ b/www/snownews/distinfo     Wed Oct 26 12:44:21 2005 +0000
@@ -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 -r a19f739017f2 -r 92232748f371 www/snownews/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/snownews/patches/patch-aa     Wed Oct 26 12:44:21 2005 +0000
@@ -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();



Home | Main Index | Thread Index | Old Index