Index: head/editors/scite/Makefile =================================================================== --- head/editors/scite/Makefile (revision 106383) +++ head/editors/scite/Makefile (revision 106384) @@ -1,66 +1,64 @@ # New ports collection makefile for: skite # Date created: 27 November 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= scite PORTVERSION= 1.59 CATEGORIES= editors gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.scintilla.org/ MASTER_SITE_SUBDIR= scintilla DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A full-featured SCIntilla based Text Editor for GTK/GNOME LIB_DEPENDS= scintilla.1:${PORTSDIR}/x11-toolkits/scintilla WRKSRC= ${WRKDIR}/${PORTNAME}/gtk USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gnomehier MAKEFILE= makefile MAKE_ENV= CC="${CXX}" .if defined(WITH_GTK2) USE_GNOME+= gtk20 PKGNAMESUFFIX= -gtk2 .else USE_GNOME+= gtk12 MAKE_ARGS= GTK1=yes .endif MAN1= scite.1 -BROKEN= "Does not compile" - pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "SciTE has the following tunable option(s):" @${ECHO_MSG} " WITH_GTK2=yes Turns on GTK-2.x support" @${ECHO_MSG} " (unavailable if x11-toolkits/scintilla has been" @${ECHO_MSG} " built with GTK-1.x support)" @${ECHO_MSG} "" post-patch: @cd ${WRKSRC} && ${MV} SciTE.desktop SciTE.desktop.pre_tr \ && ${TR} -d "\r" < SciTE.desktop.pre_tr > SciTE.desktop @${ECHO_CMD} 'Categories=Application;Development;' >> ${WRKSRC}/SciTE.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/../doc/scite.1 ${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/SciTE.desktop ${PREFIX}/share/gnome/applications ${INSTALL_DATA} ${WRKSRC}/Sci48M.png ${PREFIX}/share/gnome/pixmaps @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/*.jpg ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../src/*.properties ${DATADIR} .include Property changes on: head/editors/scite/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.28 \ No newline at end of property +1.29 \ No newline at end of property Index: head/editors/scite/files/patch-SciTEGTK.cxx =================================================================== --- head/editors/scite/files/patch-SciTEGTK.cxx (nonexistent) +++ head/editors/scite/files/patch-SciTEGTK.cxx (revision 106384) @@ -0,0 +1,22 @@ +--- SciTEGTK.cxx.orig Wed Apr 7 03:47:55 2004 ++++ SciTEGTK.cxx Wed Apr 7 03:48:14 2004 +@@ -1232,7 +1232,9 @@ + gtk_widget_show(comboDir); + gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(comboDir)->entry), findInDir); + // Make a little wider than would happen automatically to show realistic paths ++#if GTK_MAJOR_VERSION >= 2 + gtk_entry_set_width_chars(GTK_ENTRY(GTK_COMBO(comboDir)->entry), 40); ++#endif + gtk_signal_connect(GTK_OBJECT(GTK_COMBO(comboDir)->entry), + "activate", GtkSignalFunc(FindInFilesSignal), this); + gtk_combo_disable_activate(GTK_COMBO(comboDir)); +@@ -1622,7 +1624,9 @@ + row, row + 1, optse, opts, 5, 5); + gtk_widget_show(comboFind); + gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(comboFind)->entry), findWhat.c_str()); ++#if GTK_MAJOR_VERSION >= 2 + gtk_entry_set_width_chars(GTK_ENTRY(GTK_COMBO(comboFind)->entry), 40); ++#endif + gtk_entry_select_region(GTK_ENTRY(GTK_COMBO(comboFind)->entry), 0, findWhat.length()); + gtk_signal_connect(GTK_OBJECT(GTK_COMBO(comboFind)->entry), + "activate", GtkSignalFunc(FRFindSignal), this); Property changes on: head/editors/scite/files/patch-SciTEGTK.cxx ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property