Date: Tue, 6 May 2014 13:03:45 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353089 - head/editors/gnotepad+ Message-ID: <201405061303.s46D3jeu002696@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Tue May 6 13:03:45 2014 New Revision: 353089 URL: http://svnweb.freebsd.org/changeset/ports/353089 QAT: https://qat.redports.org/buildarchive/r353089/ Log: - Add staging support - Convert to new options framework, use options helper - Remove gnome1 support leftovers Modified: head/editors/gnotepad+/Makefile head/editors/gnotepad+/pkg-plist Modified: head/editors/gnotepad+/Makefile ============================================================================== --- head/editors/gnotepad+/Makefile Tue May 6 12:48:51 2014 (r353088) +++ head/editors/gnotepad+/Makefile Tue May 6 13:03:45 2014 (r353089) @@ -8,9 +8,6 @@ CATEGORIES= editors www gnome 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}-help-${DOCVERSION}${EXTRACT_SUFX}:doc -.endif MAINTAINER= ports@FreeBSD.org COMMENT= Simple GTK-based text/HTML editor @@ -19,13 +16,10 @@ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual USE_XORG= xpm -WANT_GNOME= yes USE_GNOME= gnomeprefix gtk12 USES= gettext GNU_CONFIGURE= yes -MAN1= gnp.1 - CONFIGURE_ARGS= --disable-gnome CPPFLAGS+= -I${LOCALBASE}/include @@ -33,22 +27,27 @@ LDFLAGS+= -L${LOCALBASE}/lib DOCVERSION= 1.2.0 -NO_STAGE= yes -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS + +DOCS_DISTFILES= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc + +.include <bsd.port.options.mk> -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} PLIST_SUB+= NOPORTDOCS="" .else PLIST_SUB+= NOPORTDOCS="@comment " .endif post-extract: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${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 + @${REINPLACE_CMD} '/destdir/ s|gnulocaledir)|DESTDIR)$$(&|' \ + ${WRKSRC}/po/Makefile.in.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/editors/gnotepad+/pkg-plist ============================================================================== --- head/editors/gnotepad+/pkg-plist Tue May 6 12:48:51 2014 (r353088) +++ head/editors/gnotepad+/pkg-plist Tue May 6 13:03:45 2014 (r353089) @@ -1,6 +1,5 @@ bin/gnp -%%GNOME:%%share/gnome/apps/Applications/gnotepad+.desktop -%%GNOME:%%share/gnome/apps/Applications/gnotepad+.spec +man/man1/gnp.1.gz share/gnome/help/gnotepad+/C/index.html share/gnome/help/gnotepad+/C/index-5.html share/gnome/help/gnotepad+/C/topic.dat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405061303.s46D3jeu002696>