ports/181889: misc/pinfo: Update MASTER_SITES

KATO Tsuguru tkato432 at yahoo.com
Fri Sep 6 18:10:05 UTC 2013


>Number:         181889
>Category:       ports
>Synopsis:       misc/pinfo: Update MASTER_SITES
>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:   Fri Sep 06 18:10:05 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Do not include bsd.port.options.mk twice

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/pinfo/Makefile misc/pinfo/Makefile
--- /usr/ports/misc/pinfo/Makefile	2013-09-05 01:47:06.000000000 +0900
+++ misc/pinfo/Makefile	2013-09-07 00:00:00.000000000 +0900
@@ -4,19 +4,19 @@
 PORTNAME=	pinfo
 PORTVERSION=	0.6.10
 CATEGORIES=	misc
-MASTER_SITES=   http://spout.ussg.indiana.edu/linux/gentoo/distfiles/ \
-		http://ftp.yellowdoglinux.com/.2/gentoo/distfiles/
+MASTER_SITES=	GENTOO/distfiles \
+		http://alioth.debian.org/frs/download.php/file/3351/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Ncurses based, lynx style info documentation browser
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	READLINE
+OPTIONS_DEFINE=	READLINE NLS
 OPTIONS_DEFAULT=READLINE
 
 USE_BZIP2=	yes
-USES=		ncurses gettext
+USES=		ncurses
 USE_AUTOTOOLS=	libtoolize aclocal autoheader automake autoconf
 LIBTOOLIZE_ARGS=--force
 ACLOCAL_ARGS=	-I macros
@@ -29,20 +29,18 @@
 MAN1=		pinfo.1
 INFO=		pinfo
 
-.include <bsd.port.options.mk>
-
 PLIST_FILES=	bin/pinfo etc/pinforc
-.for lang in cs de eu ja nl pl pt_BR ro ru sv vi
-PLIST_FILES+=	%%NLS%%share/locale/${lang}/LC_MESSAGES/pinfo.mo
-.endfor
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+=	NLS=""
+USES+=		gettext
+.for lang in cs de eu ja nl pl pt_BR ro ru sv vi
+PLIST_FILES+=	share/locale/${lang}/LC_MESSAGES/pinfo.mo
+.endfor
 .else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
+USES+=		gettext:build
+CONFIGURE_ARGS+=--disable-nls
 .endif
 
 .if ${PORT_OPTIONS:MREADLINE}
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list