diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-12-25 07:04:17 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-12-25 07:04:17 +0000 |
commit | 934c9e1474c1a6184e113adce170e8345922419e (patch) | |
tree | d385ddcf0ab9389ec8bf76881590d0c6b6add820 /editors/gphpedit | |
parent | 5df8c14c4f71d2c42566c20fb47b9744378e7f0c (diff) | |
download | ports-934c9e1474c1a6184e113adce170e8345922419e.tar.gz ports-934c9e1474c1a6184e113adce170e8345922419e.zip |
- Make it search for php docs in that location where lang/php_doc installs
them
- Bump PORTREVISION
Reported by: Mark Nowiasz <buckaroo@gmx.de>
Notes
Notes:
svn path=/head/; revision=151997
Diffstat (limited to 'editors/gphpedit')
-rw-r--r-- | editors/gphpedit/Makefile | 3 | ||||
-rw-r--r-- | editors/gphpedit/files/patch-src::tab.c | 17 |
2 files changed, 16 insertions, 4 deletions
diff --git a/editors/gphpedit/Makefile b/editors/gphpedit/Makefile index 73172063284f..c763f3bd360e 100644 --- a/editors/gphpedit/Makefile +++ b/editors/gphpedit/Makefile @@ -7,6 +7,7 @@ PORTNAME= gphpedit PORTVERSION= 0.9.80 +PORTREVISION= 1 CATEGORIES= editors gnome MASTER_SITES= http://www.gphpedit.org/download/store/ \ http://ftp.ceid.upatras.gr/pub/linux/gentoo/distfiles/ \ @@ -44,7 +45,7 @@ pre-everything:: .endif post-extract: - cd ${WRKSRC}/src/gtkscintilla2 && ${GMAKE} clean + @cd ${WRKSRC}/src/gtkscintilla2 && ${GMAKE} clean post-patch: @${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share/gnome|g' \ diff --git a/editors/gphpedit/files/patch-src::tab.c b/editors/gphpedit/files/patch-src::tab.c index bd360b14aa73..bffe258785dc 100644 --- a/editors/gphpedit/files/patch-src::tab.c +++ b/editors/gphpedit/files/patch-src::tab.c @@ -1,8 +1,19 @@ ---- src/tab.c.orig Thu Dec 22 21:13:51 2005 -+++ src/tab.c Thu Dec 22 22:08:18 2005 -@@ -521,55 +521,55 @@ +--- src/tab.c.orig Sun Oct 16 13:24:52 2005 ++++ src/tab.c Sun Dec 25 09:48:30 2005 +@@ -520,56 +520,66 @@ + { GString *long_filename = NULL; ++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/function.", command, ".html"); ++ if (long_filename) ++ return long_filename; ++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/ref.", command, ".html"); ++ if (long_filename) ++ return long_filename; ++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/", command, NULL); ++ if (long_filename) ++ return long_filename; ++ // For Redhat/Fedora Core and other sensible distrubutions... - long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/function.", command, ".html"); + long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/function.", command, ".html"); |