From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 3 18:40:18 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB2A1065689 for ; Wed, 3 Aug 2011 18:40:17 +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 D24708FC14 for ; Wed, 3 Aug 2011 18:40:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p73IeHoZ075402 for ; Wed, 3 Aug 2011 18:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p73IeHn6075401; Wed, 3 Aug 2011 18:40:17 GMT (envelope-from gnats) Resent-Date: Wed, 3 Aug 2011 18:40:17 GMT Resent-Message-Id: <201108031840.p73IeHn6075401@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 7DAB81065679 for ; Wed, 3 Aug 2011 18:31:43 +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 53BE38FC1A for ; Wed, 3 Aug 2011 18:31:43 +0000 (UTC) Received: from localhost.localdomain (ZT028230.ppp.dion.ne.jp [59.128.28.230]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id 65C0350036 for ; Thu, 4 Aug 2011 03:31:41 +0900 (JST) Message-Id: <20110804032111.f19d2904.tkato432@yahoo.com> Date: Thu, 4 Aug 2011 03:21:11 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/159436: Update port: editors/gnotepad+ 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: Wed, 03 Aug 2011 18:40:18 -0000 >Number: 159436 >Category: ports >Synopsis: Update port: editors/gnotepad+ >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: Wed Aug 03 18:40:17 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Fix MASTER_SITES - Add LICENSE - Add MAKE_JOBS_SAFE >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/gnotepad+/Makefile editors/gnotepad+/Makefile --- /usr/ports/editors/gnotepad+/Makefile 2010-05-31 16:18:01.000000000 +0900 +++ editors/gnotepad+/Makefile 2011-07-17 02:31:00.000000000 +0900 @@ -9,40 +9,34 @@ PORTVERSION= 1.3.3 PORTREVISION= 8 CATEGORIES= editors www gnome -MASTER_SITES= SF/gnotepad/gnotepad-stable/${PORTVERSION} +MASTER_SITES= SF/gnotepad/gnotepad-stable/${PORTVERSION} \ + SF/gnotepad/gnotepad%20User_s%20Manual/${DOCVERSION}:doc +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:DEFAULT .if !defined(NOPORTDOCS) -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc .endif MAINTAINER= ports@FreeBSD.org COMMENT= Simple GTK-based text/HTML editor -DOCVERSION= 1.2.0 +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual -USE_GETTEXT= yes USE_XORG= xpm -WANT_GNOME= yes USE_GNOME= gnomeprefix gtk12 +USE_GETTEXT= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" +MAKE_JOBS_SAFE= yes -MAN1= gnp.1 +MAN1= gnp.1 -.include +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -post-patch: - @${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure +DOCVERSION= 1.2.0 -.if !defined(NOPORTDOCS) -PLIST_SUB+= NOPORTDOCS="@comment " -post-extract: - @${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old - @${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs -.else -PLIST_SUB+= NOPORTDOCS="" -.endif +.include .if ${HAVE_GNOME:Mgnomelibs}!="" USE_GNOME+= gnomelibs @@ -51,4 +45,19 @@ CONFIGURE_ARGS+=--disable-gnome .endif +.if defined(NOPORTDOCS) +PLIST_SUB+= NOPORTDOCS="" +.else +PLIST_SUB+= NOPORTDOCS="@comment " +.endif + +post-extract: +.if !defined(NOPORTDOCS) + @${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old + @${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure + .include >Release-Note: >Audit-Trail: >Unformatted: