diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-03-13 07:44:03 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-03-13 07:44:03 +0000 |
commit | cfe7aad96a82f0b6a3211555f1c5024651157b69 (patch) | |
tree | 3dd65bde02c44aa40977975acacc83c6a1d80929 /editors/scite | |
parent | 207ce60e94b8a8d0ba65afd0ed0d8971d8d1413d (diff) |
Notes
Diffstat (limited to 'editors/scite')
-rw-r--r-- | editors/scite/Makefile | 11 | ||||
-rw-r--r-- | editors/scite/files/pkg-message.in | 9 |
2 files changed, 4 insertions, 16 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile index 8982a2caff2e..97a547fc7647 100644 --- a/editors/scite/Makefile +++ b/editors/scite/Makefile @@ -7,6 +7,7 @@ PORTNAME= scite PORTVERSION= 2.03 +PORTREVISION= 1 CATEGORIES= editors gnome MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} @@ -16,6 +17,7 @@ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= A full-featured SCIntilla based Text Editor for GTK/GNOME LIB_DEPENDS= scintilla.2:${PORTSDIR}/x11-toolkits/scintilla +RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils WRKSRC= ${WRKDIR}/${PORTNAME}/gtk @@ -23,8 +25,6 @@ USE_GMAKE= yes USE_GNOME= gtk20 MAKEFILE= makefile -SUB_FILES= pkg-message - MAN1= scite.1 post-patch: @@ -33,6 +33,8 @@ post-patch: .if defined(WITH_FULL_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}|' \ + ${WRKSRC}/../src/SciTEGlobal.properties do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${PREFIX}/bin @@ -50,9 +52,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/../doc/*.png ${DOCSDIR} .endif -.if !defined(NOPORTDOCS) -post-install: - @${CAT} ${PKGMESSAGE} -.endif - .include <bsd.port.mk> diff --git a/editors/scite/files/pkg-message.in b/editors/scite/files/pkg-message.in deleted file mode 100644 index 7ef7e2ae62e3..000000000000 --- a/editors/scite/files/pkg-message.in +++ /dev/null @@ -1,9 +0,0 @@ - -=============================================================================== -Note: As of version 1.76 of this port, SciTE's documentation has been moved - from %%DATADIR%% to %%DOCSDIR%%. - This will cause the "SciTE Help" option in the help menu to point to the - wrong location. You will need to manually edit your - SciTEGlobal.properties file if you still wish to utilize that option. -=============================================================================== - |