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

Naram Qashat cyberbotx at cyberbotx.com
Sun Oct 7 08:00:31 UTC 2012


>Number:         172443
>Category:       ports
>Synopsis:       [MAINTAINER] editors/scite: update to 3.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 08:00:30 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 8.3-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Mon Oct  1 19:56:21 EDT
>Description:
- Update to 3.2.2

Note 1: This PR relies on PR ports/172442 to be committed first.
Note 2: I am not 100% sure if my changes to use OptionsNG are fully correct,
        as I usually test my ports with the "port test" command of porttools
        and it doesn't seem to handle OptionsNG correctly from what I can tell.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- scite-3.2.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/editors/scite/Makefile ./Makefile
--- /usr/ports/editors/scite/Makefile	2012-08-26 11:57:24.000000000 -0400
+++ ./Makefile	2012-10-07 03:27:00.000000000 -0400
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	scite
-# Date created:				27 November 2000
-# Whom:					Maxim Sobolev <sobomax at FreeBSD.org>
-#
+# 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,12 @@
 
 MAN1=		scite.1
 
+.include <bsd.port.options.mk>
+
 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 +46,7 @@
 	${INSTALL_DATA} ${WRKSRC}/Sci48M.png ${PREFIX}/share/pixmaps
 	@${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../doc/*.jpg ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/editors/scite/distinfo ./distinfo
--- /usr/ports/editors/scite/distinfo	2012-08-26 11:57:24.000000000 -0400
+++ ./distinfo	2012-10-07 03:12:27.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (scite321.tgz) = f95c89074fd73a22b783b5582d3b23cdbd4b7eb38ab407721a702c4a1bcb678c
-SIZE (scite321.tgz) = 2043490
+SHA256 (scite322.tgz) = 9f17fe2a5dc294bd1077bf64f713bb06733eec271bab770841e55474e6c781c8
+SIZE (scite322.tgz) = 2048866
--- scite-3.2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list