From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 25 18:10:18 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1EE2106564A for ; Tue, 25 Sep 2012 18:10:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7CBF08FC08 for ; Tue, 25 Sep 2012 18:10:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8PIAIVw018882 for ; Tue, 25 Sep 2012 18:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8PIAIJG018874; Tue, 25 Sep 2012 18:10:18 GMT (envelope-from gnats) Resent-Date: Tue, 25 Sep 2012 18:10:18 GMT Resent-Message-Id: <201209251810.q8PIAIJG018874@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81391065678 for ; Tue, 25 Sep 2012 18:03:06 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168]) by mx1.freebsd.org (Postfix) with ESMTP id 791D88FC1D for ; Tue, 25 Sep 2012 18:03:06 +0000 (UTC) Received: from localhost.localdomain (ZT030063.ppp.dion.ne.jp [59.128.30.63]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id A715850036 for ; Wed, 26 Sep 2012 03:03:04 +0900 (JST) Message-Id: <20120926022158.0e8ce91c231b1d4332917020@yahoo.com> Date: Wed, 26 Sep 2012 02:21:58 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/171985: devel/jtag: Support USE_READLINE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 18:10:18 -0000 >Number: 171985 >Category: ports >Synopsis: devel/jtag: Support USE_READLINE >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: Tue Sep 25 18:10:18 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Support USE_READLINE - Add LICENSE - Add MAKE_JOBS_SAFE >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/jtag/Makefile devel/jtag/Makefile --- /usr/ports/devel/jtag/Makefile 2012-01-22 02:37:10.000000000 +0900 +++ devel/jtag/Makefile 2012-09-25 03:20:23.000000000 +0900 @@ -1,10 +1,5 @@ -# New ports collection makefile for: jtag -# Date created: 2006-08-05 -# Whom: Stanislav Sedov -# -# $MBSDlabs$ +# Created by: Stanislav Sedov # $FreeBSD: ports/devel/jtag/Makefile,v 1.11 2012/01/21 17:37:10 eadler Exp $ -# PORTNAME= jtag PORTVERSION= 0.5.1 @@ -15,25 +10,36 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Utility to work with JTAG-aware boards +LICENSE= GPLv2 # (or later) + BUILD_DEPENDS= ${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include RUN_DEPENDS:= ${BUILD_DEPENDS} +OPTIONS_DEFINE= NLS DOCS +OPTIONS_DEFAULT=NLS + USE_BZIP2= yes -USE_GETTEXT= yes +USE_READLINE= yes GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PORTDOCS= * ONLY_FOR_ARCHS= i386 OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +.include -.include - -.if exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif post-extract: @@ -42,10 +48,11 @@ ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/TODO \ - ${WRKSRC}/doc/internals.xml ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for f in README TODO doc/internals.xml + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor .endif -.include +.include diff -urN /usr/ports/devel/jtag/pkg-plist devel/jtag/pkg-plist --- /usr/ports/devel/jtag/pkg-plist 2007-05-20 05:02:56.000000000 +0900 +++ devel/jtag/pkg-plist 2012-09-08 23:45:42.000000000 +0900 @@ -41,7 +41,7 @@ %%DATADIR%%/xilinx/xcr3128xl-cs144/xcr3128xl-cs144 %%DATADIR%%/xilinx/xcr3256xl-ft256/STEPPINGS %%DATADIR%%/xilinx/xcr3256xl-ft256/xcr3256xl-ft256 -share/locale/sk/LC_MESSAGES/jtag.mo +%%NLS%%share/locale/sk/LC_MESSAGES/jtag.mo @dirrm %%DATADIR%%/xilinx/xcr3256xl-ft256 @dirrm %%DATADIR%%/xilinx/xcr3128xl-cs144 @dirrm %%DATADIR%%/xilinx/xc2c256-tq144 >Release-Note: >Audit-Trail: >Unformatted: