Date: Thu, 4 Aug 2011 03:21:11 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159436: Update port: editors/gnotepad+ Message-ID: <20110804032111.f19d2904.tkato432@yahoo.com> Resent-Message-ID: <201108031840.p73IeHn6075401@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> +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 <bsd.port.pre.mk> .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 <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032111.f19d2904.tkato432>