mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
s/X11BASE/PREFIX/ in devhelp start script.
For X11BASE != PREFIX cases. Submitted by: bland
This commit is contained in:
parent
10ee43b9c6
commit
94b016e8a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143072
2 changed files with 3 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= devhelp
|
||||
PORTVERSION= 0.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= devel gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,}
|
||||
|
@ -54,7 +55,6 @@ pre-everything::
|
|||
@${ECHO_MSG} " firefox "
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
-e 's|%%MOZILLA%%|${MOZILLA}|g' \
|
||||
|
@ -62,6 +62,6 @@ post-patch:
|
|||
|
||||
post-install:
|
||||
@${INSTALL_SCRIPT} -m 555 ${WRKDIR}/devhelp.sh ${PREFIX}/etc/rc.d/000.devhelp.sh
|
||||
@ldconfig -m ${X11BASE}/lib/${MOZILLA}
|
||||
@${LDCONFIG} -m ${X11BASE}/lib/${MOZILLA}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -13,7 +13,7 @@ name=devhelp
|
|||
start_cmd=devhelp_start
|
||||
stop_cmd=:
|
||||
|
||||
[ -z "$devhelp_libdir" ] && devhelp_libdir="%%X11BASE%%/lib/%%MOZILLA%%"
|
||||
[ -z "$devhelp_libdir" ] && devhelp_libdir="%%PREFIX%%/lib/%%MOZILLA%%"
|
||||
|
||||
devhelp_start() {
|
||||
if [ -d "$devhelp_libdir" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue