1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Make it search for php docs in that location where lang/php_doc installs

them
- Bump PORTREVISION

Reported by:	Mark Nowiasz <buckaroo@gmx.de>
This commit is contained in:
Roman Bogorodskiy 2005-12-25 07:04:17 +00:00
parent 5df8c14c4f
commit 934c9e1474
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151997
2 changed files with 16 additions and 4 deletions

View File

@ -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' \

View File

@ -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");