From 96047d955da208130bd60fc27a5fbf5d1795b1f1 Mon Sep 17 00:00:00 2001
From: Rene Rebe <rene.rebe@gmx.net>
Date: Thu, 26 Feb 2004 14:04:41 +0000
Subject: [PATCH] cleanup and copyright for snownews

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2409 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
---
 package/avm/snownews/prefix.patch  | 12 ------------
 package/avm/snownews/snownews.conf | 27 ++++++++++++++++++++++++++-
 package/avm/snownews/snownews.desc |  2 +-
 3 files changed, 27 insertions(+), 14 deletions(-)
 delete mode 100644 package/avm/snownews/prefix.patch

diff --git a/package/avm/snownews/prefix.patch b/package/avm/snownews/prefix.patch
deleted file mode 100644
index 65131171c..000000000
--- a/package/avm/snownews/prefix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN snownews-1.4.4/Makefile.inc snownews-1.4.4-new/Makefile.inc
---- snownews-1.4.4/Makefile.inc	2004-01-23 13:13:29.000000000 +0100
-+++ snownews-1.4.4-new/Makefile.inc	2004-02-05 19:05:25.594030184 +0100
-@@ -1,7 +1,7 @@
- CC = gcc
- MAKE = make
- INSTALL = install
--PREFIX = /usr/local
-+PREFIX = /usr
- LOCALEPATH = $(PREFIX)/share/locale
- DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.colors INSTALL INSTALL.solaris INSTALL.FreeOpenNetBSD TODO opml2snow \
- 	Makefile Makefile.inc Makefile.solaris \
diff --git a/package/avm/snownews/snownews.conf b/package/avm/snownews/snownews.conf
index 11825ba66..3932c9393 100644
--- a/package/avm/snownews/snownews.conf
+++ b/package/avm/snownews/snownews.conf
@@ -1 +1,26 @@
-var_append makeopt " " "LDFLAGS='-L/lib -lncurses $(xml2-config --libs)'"
+# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+# 
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# Please add additional copyright information _after_ the line containing
+# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+# 
+# ROCK Linux: rock-src/package/avm/snownews/snownews.conf
+# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version. A copy of the GNU General Public
+# License can be found at Documentation/COPYING.
+# 
+# Many people helped and are helping developing ROCK Linux. Please
+# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
+# file for details.
+# 
+# --- ROCK-COPYRIGHT-NOTE-END ---
+
+var_append makeopt " " "PREFIX=$root/$prefix LDFLAGS='-L/lib -lncurses \
+                        $(xml2-config --libs)'"
+makeinstopt="$makeopt install"
+
diff --git a/package/avm/snownews/snownews.desc b/package/avm/snownews/snownews.desc
index f6d20ffdd..d04fa3b97 100644
--- a/package/avm/snownews/snownews.desc
+++ b/package/avm/snownews/snownews.desc
@@ -7,7 +7,7 @@
 [COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
 [COPY] 
 [COPY] ROCK Linux: rock-src/package/avm/snownews/snownews.desc
-[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
+[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
 [COPY] 
 [COPY] This program is free software; you can redistribute it and/or modify
 [COPY] it under the terms of the GNU General Public License as published by