ports/79286: PORT UPDATE www/snownews
Aleksander Fafula
alex at fafula.com
Sun Mar 27 21:30:03 UTC 2005
>Number: 79286
>Category: ports
>Synopsis: PORT UPDATE www/snownews
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 27 21:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Aleksander Fafula
>Release: FreeBSD 5.3-RELEASE-p2 i386
>Organization:
.
>Environment:
System: FreeBSD fafula.com 5.3-RELEASE
>Description:
Snownews can take env argument so that it shows characters other that
iso-8859-1. Update makes possible to choose desired CHARSET upon
the configuration time.
No programme version changed. Only added this little feature.
>How-To-Repeat:
.
>Fix:
diff -ruN snownews.orig/Makefile snownews/Makefile
--- snownews.orig/Makefile Wed Jan 26 09:07:19 2005
+++ snownews/Makefile Sun Mar 27 22:07:20 2005
@@ -8,6 +8,7 @@
PORTNAME= snownews
PORTVERSION= 1.5.6.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://kiza.kcore.de/software/snownews/download/
@@ -19,8 +20,20 @@
USE_GNOME= libxml2
USE_REINPLACE= yes
+.if defined(CHARSET)
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --charset=${CHARSET}
+.endif
+
MAN1= snownews.1
MANLANG= "" de nl fr it ru_RU.KOI8-R
+
+pre-everything::
+ @${ECHO_MSG} " "
+ @${ECHO_MSG} " You can set up CHARSET variable for your localization."
+ @${ECHO_MSG} " Example: make CHARSET=ISO-8859-2"
+ @${ECHO_MSG} " Default is ISO-8859-1. Note: UTF-8 needs libncursesw."
+ @${ECHO_MSG} " "
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS+=|g' ${WRKSRC}/platform_settings
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list