diff options
author | Koop Mast <kwm@FreeBSD.org> | 2005-09-18 13:55:49 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2005-09-18 13:55:49 +0000 |
commit | 94b016e8a92b2e4f3061d2c19fb852a5377ea73a (patch) | |
tree | 2960143b68713dfb5a7fb9e77cb98ce40caf47ac /devel/devhelp | |
parent | 10ee43b9c6d2404365cc7febabe93f4893f08865 (diff) | |
download | ports-94b016e8a92b2e4f3061d2c19fb852a5377ea73a.tar.gz ports-94b016e8a92b2e4f3061d2c19fb852a5377ea73a.zip |
s/X11BASE/PREFIX/ in devhelp start script.
For X11BASE != PREFIX cases.
Submitted by: bland
Notes
Notes:
svn path=/head/; revision=143072
Diffstat (limited to 'devel/devhelp')
-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 |