ports/172443: [MAINTAINER] editors/scite: update to 3.2.2

Naram Qashat cyberbotx at cyberbotx.com
Wed Oct 24 05:50:01 UTC 2012


The following reply was made to PR ports/172443; it has been noted by GNATS.

From: Naram Qashat <cyberbotx at cyberbotx.com>
To: bug-followup at FreeBSD.org, cyberbotx at cyberbotx.com
Cc:  
Subject: Re: ports/172443: [MAINTAINER] editors/scite: update to 3.2.2
Date: Wed, 24 Oct 2012 01:42:29 -0400

 This is a multi-part message in MIME format.
 --------------030302090005030803080306
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 After a little help from jgh on IRC, I have corrected this update.  The new 
 patch to use is attached.  I also realized that the previous patch was incorrect 
 in handling installing the docs anyways.
 
 Thanks,
 Naram Qashat
 
 --------------030302090005030803080306
 Content-Type: text/plain; charset=us-ascii;
  name="scite-3.2.2.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="scite-3.2.2.patch"
 
 diff -ruN /usr/ports/editors/scite/Makefile /kirby/shared/ports/scite/Makefile
 --- /usr/ports/editors/scite/Makefile	2012-10-07 17:03:46.000000000 -0400
 +++ /kirby/shared/ports/scite/Makefile	2012-10-24 01:36:18.000000000 -0400
 @@ -1,12 +1,8 @@
 -# New ports collection makefile for:	scite
 -# Date created:				27 November 2000
 -# Whom:					Maxim Sobolev <sobomax at FreeBSD.org>
 -#
 -# $FreeBSD: head/editors/scite/Makefile 302479 2012-08-13 19:41:49Z madpilot $
 -#
 +# Created by: Maxim Sobolev <sobomax at FreeBSD.org>
 +# $FreeBSD: ports/editors/scite/Makefile,v 1.81 2012/08/13 19:41:49 madpilot Exp $
  
  PORTNAME=	scite
 -PORTVERSION=	3.2.1
 +PORTVERSION=	3.2.2
  CATEGORIES=	editors gnome
  MASTER_SITES=	SF/scintilla/SciTE/${PORTVERSION}
  DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
 @@ -15,9 +11,12 @@
  MAINTAINER=	cyberbotx at cyberbotx.com
  COMMENT=	Full-featured SCIntilla based text editor for GTK/GNOME
  
 -LIB_DEPENDS=	scintilla.2:${PORTSDIR}/x11-toolkits/scintilla
 +LIB_DEPENDS=	scintilla:${PORTSDIR}/x11-toolkits/scintilla
  RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
  
 +OPTIONS_DEFINE=	DOCS FULL_BUFFER_MENU
 +FULL_BUFFER_MENU_DESC=	Show all files in buffer menu
 +
  WRKSRC=		${WRKDIR}/${PORTNAME}/gtk
  
  USE_GMAKE=	yes
 @@ -27,10 +26,18 @@
  
  MAN1=		scite.1
  
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MDOCS}
 +PORTDOCS=	*
 +.else
 +PORTDOCS=
 +.endif
 +
  post-patch:
  	@${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|[(]CCOMP[)]|(CC)|g ; \
  		s| -Os||g' ${WRKSRC}/makefile
 -.if defined(WITH_FULL_BUFFER_MENU)
 +.if ${PORT_OPTIONS:MFULL_BUFFER_MENU}
  	@${REINPLACE_CMD} -e 's|30, "/Buffers|props.GetInt("buffers") > 30 ? props.GetInt("buffers") - 10 : 30, "/Buffers|g' ${WRKSRC}/SciTEGTK.cxx
  .endif
  	@${REINPLACE_CMD} -e 's|netscape "file://$$(SciteDefaultHome)|xdg-open "file://${DOCSDIR}|' \
 @@ -45,7 +52,7 @@
  	${INSTALL_DATA} ${WRKSRC}/Sci48M.png ${PREFIX}/share/pixmaps
  	@${MKDIR} ${DATADIR}
  	${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR}
 -.if !defined(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
  	${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
  	${INSTALL_DATA} ${WRKSRC}/../doc/*.jpg ${DOCSDIR}
 diff -ruN /usr/ports/editors/scite/distinfo /kirby/shared/ports/scite/distinfo
 --- /usr/ports/editors/scite/distinfo	2012-10-07 17:03:46.000000000 -0400
 +++ /kirby/shared/ports/scite/distinfo	2012-10-24 01:36:34.000000000 -0400
 @@ -1,2 +1,2 @@
 -SHA256 (scite321.tgz) = f95c89074fd73a22b783b5582d3b23cdbd4b7eb38ab407721a702c4a1bcb678c
 -SIZE (scite321.tgz) = 2043490
 +SHA256 (scite322.tgz) = 9f17fe2a5dc294bd1077bf64f713bb06733eec271bab770841e55474e6c781c8
 +SIZE (scite322.tgz) = 2048866
 diff -ruN /usr/ports/editors/scite/pkg-plist /kirby/shared/ports/scite/pkg-plist
 --- /usr/ports/editors/scite/pkg-plist	2012-10-07 17:03:46.000000000 -0400
 +++ /kirby/shared/ports/scite/pkg-plist	2012-10-24 01:34:32.000000000 -0400
 @@ -1,26 +1,6 @@
  bin/SciTE
  share/applications/SciTE.desktop
  share/pixmaps/Sci48M.png
 -%%PORTDOCS%%%%DOCSDIR%%/CommandValues.html
 -%%PORTDOCS%%%%DOCSDIR%%/PaneAPI.html
 -%%PORTDOCS%%%%DOCSDIR%%/PrintHi.png
 -%%PORTDOCS%%%%DOCSDIR%%/SciBreak2.jpg
 -%%PORTDOCS%%%%DOCSDIR%%/SciTE.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEDirector.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEDoc.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEDownload.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEExtension.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEExternalLexer.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEExtras.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEFAQ.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEIco.png
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEImage.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTELexer.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTELua.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTERegEx.html
 -%%PORTDOCS%%%%DOCSDIR%%/SciTEWord.jpg
 -%%PORTDOCS%%%%DOCSDIR%%/ScriptLexer.html
 -%%PORTDOCS%%%%DOCSDIR%%/demo.png
  %%DATADIR%%/Embedded.properties
  %%DATADIR%%/SciTE.properties
  %%DATADIR%%/SciTEGlobal.properties
 @@ -98,5 +78,4 @@
  %%DATADIR%%/vhdl.properties
  %%DATADIR%%/yaml.properties
  @dirrm %%DATADIR%%
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%
  @dirrmtry share/applications
 
 --------------030302090005030803080306--


More information about the freebsd-ports-bugs mailing list