diff --git a/www/snownews/Makefile b/www/snownews/Makefile index 24d89dacf70..dce2ac8aae9 100644 --- a/www/snownews/Makefile +++ b/www/snownews/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.14 2007/03/18 17:19:57 martynas Exp $ +# $OpenBSD: Makefile,v 1.15 2007/04/10 13:12:43 martynas Exp $ COMMENT= "text mode rss newsreader" DISTNAME= snownews-1.5.7 -PKGNAME= ${DISTNAME}p2 +PKGNAME= ${DISTNAME}p3 CATEGORIES= www MASTER_SITES= ${HOMEPAGE}download/ @@ -21,12 +21,16 @@ NO_REGRESS= Yes USE_GMAKE= Yes MODULES= devel/gettext - -LIB_DEPENDS+= xml2.>=7.10::textproc/libxml +RUN_DEPENDS= ::textproc/p5-XML-LibXML +LIB_DEPENDS= xml2.>=7.10::textproc/libxml MAKE_ENV+= EXTRA_CFLAGS="${CFLAGS}" +MAKE_FLAGS+= CC="${CC}" CONFIGURE_STYLE= simple CONFIGURE_ARGS= --prefix=${PREFIX} +post-install: + ln -f ${PREFIX}/bin/opml2snow ${PREFIX}/bin/snow2opml + .include diff --git a/www/snownews/patches/patch-Makefile b/www/snownews/patches/patch-Makefile index 4f5ec36c452..237008768d3 100644 --- a/www/snownews/patches/patch-Makefile +++ b/www/snownews/patches/patch-Makefile @@ -1,12 +1,6 @@ -$OpenBSD: patch-Makefile,v 1.10 2007/03/18 17:19:57 martynas Exp $ +$OpenBSD: patch-Makefile,v 1.11 2007/04/10 13:12:43 martynas Exp $ --- Makefile.orig Sun Jun 5 11:50:22 2005 +++ Makefile Thu Feb 16 22:15:51 2006 -@@ -1,4 +1,4 @@ --CC= gcc -+CC?= gcc - MAKE= make - INSTALL= install - LOCALEPATH= $(PREFIX)/share/locale @@ -8,7 +8,7 @@ LOCALEPATH= $(PREFIX)/share/locale include platform_settings diff --git a/www/snownews/pkg/PLIST b/www/snownews/pkg/PLIST index fb08a163289..f9fc89974f8 100644 --- a/www/snownews/pkg/PLIST +++ b/www/snownews/pkg/PLIST @@ -1,6 +1,6 @@ -@comment $OpenBSD: PLIST,v 1.9 2007/03/18 17:19:57 martynas Exp $ -@comment bin/opml2snow -@comment bin/snow2opml +@comment $OpenBSD: PLIST,v 1.10 2007/04/10 13:12:43 martynas Exp $ +bin/opml2snow +bin/snow2opml bin/snownews bin/snowsync man/de/ @@ -12,7 +12,7 @@ man/fr/man1/ man/it/ man/it/man1/ @man man/it/man1/snownews.1 -@comment @man man/man1/opml2snow.1 +@man man/man1/opml2snow.1 @man man/man1/snownews.1 man/nl/ man/nl/man1/