diff options
author | kwm <kwm@FreeBSD.org> | 2005-09-18 21:55:49 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2005-09-18 21:55:49 +0800 |
commit | 933262490af06a23447745c5e46df05652190d12 (patch) | |
tree | 19f6f12ba6d8ca48761a3c46a8efd07c0fda0fcf /devel | |
parent | c84f9119abd2b58072ba99467d6b7ca959e448e1 (diff) | |
download | freebsd-ports-gnome-933262490af06a23447745c5e46df05652190d12.tar.gz freebsd-ports-gnome-933262490af06a23447745c5e46df05652190d12.tar.zst freebsd-ports-gnome-933262490af06a23447745c5e46df05652190d12.zip |
s/X11BASE/PREFIX/ in devhelp start script.
For X11BASE != PREFIX cases.
Submitted by: bland
Diffstat (limited to 'devel')
-rw-r--r-- | devel/devhelp/Makefile | 4 | ||||
-rw-r--r-- | devel/devhelp/files/devhelp.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile index 3f889fb76d2b..3f69146bc6a0 100644 --- a/devel/devhelp/Makefile +++ b/devel/devhelp/Makefile @@ -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> diff --git a/devel/devhelp/files/devhelp.sh b/devel/devhelp/files/devhelp.sh index 86bb9b432296..eaf475d7e355 100644 --- a/devel/devhelp/files/devhelp.sh +++ b/devel/devhelp/files/devhelp.sh @@ -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 |