ports/117876: www/aria2: [PATCH]: portlint cleanups
Philip M. Gollucci
pgollucci at p6m7g8.com
Tue Nov 6 19:50:01 UTC 2007
>Number: 117876
>Category: ports
>Synopsis: www/aria2: [PATCH]: portlint cleanups
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 06 19:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 7.0-CURRENT
>Organization:
Riderway Inc.
>Environment:
FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 root at philip.office.rws:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1) Minor grammer fix in pkg-descr
2) Hononr WITHOUT_NLS
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/aria2/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile 29 Oct 2007 12:14:38 -0000 1.29
+++ Makefile 6 Nov 2007 19:36:49 -0000
@@ -20,18 +20,27 @@
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
--with-libxml2 --without-gnutls --without-libares --without-libcares \
--program-transform-name=""
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
USE_GCC= 3.4+
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-PLIST_FILES= bin/aria2c \
- share/locale/de/LC_MESSAGES/aria2c.mo \
+PLIST_FILES= bin/aria2c
+.if !defined(WITHOUT_NLS)
+PLIST_FILES+= share/locale/de/LC_MESSAGES/aria2c.mo \
share/locale/fr/LC_MESSAGES/aria2c.mo \
share/locale/ja/LC_MESSAGES/aria2c.mo \
share/locale/nl/LC_MESSAGES/aria2c.mo \
share/locale/ru/LC_MESSAGES/aria2c.mo
+.endif
MAN1= aria2c.1
post-configure:
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/www/aria2/pkg-descr,v
retrieving revision 1.4
diff -u -r1.4 pkg-descr
--- pkg-descr 28 Jan 2007 16:47:29 -0000 1.4
+++ pkg-descr 6 Nov 2007 19:27:06 -0000
@@ -1,4 +1,4 @@
-aria2 has segmented downloading engine in its core. It therefore, it
+aria2 has a segmented downloading engine in its core; therefore, it
can download files a lot faster than ordinary browsers. Currently it
has following features:
* HTTP/HTTPS GET support
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list