diff options
author | makc <makc@FreeBSD.org> | 2010-03-13 15:44:03 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-03-13 15:44:03 +0800 |
commit | ca11be54094cf9e5ee4ea824db54c945cfc63c13 (patch) | |
tree | 17cb74a80d42bc54cf6d27d04511f35e7fd58f43 /editors | |
parent | 35fe6b2bf0ac1706c724162f43baf97729f7a96d (diff) | |
download | freebsd-ports-gnome-ca11be54094cf9e5ee4ea824db54c945cfc63c13.tar.gz freebsd-ports-gnome-ca11be54094cf9e5ee4ea824db54c945cfc63c13.tar.zst freebsd-ports-gnome-ca11be54094cf9e5ee4ea824db54c945cfc63c13.zip |
Utilize modern way of opening docs (xdg-open instead of netscape).
PR: ports/144686
Submitted by: Andrius Morkunas <hinokind at gmail.com>
Approved by: Naram Qashat (maintainer)
Diffstat (limited to 'editors')
-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. -=============================================================================== - |