aboutsummaryrefslogtreecommitdiffstats
path: root/lang/xotcl
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2007-07-03 06:44:13 +0800
committermm <mm@FreeBSD.org>2007-07-03 06:44:13 +0800
commit175c47ed298fe33b381ba0f0edd2b1a2176c3736 (patch)
treed86cb42f229841d5aeececc09ae8aee98387685e /lang/xotcl
parentb341c4d415b3bde652752d645f3a7a997f23bf2f (diff)
downloadfreebsd-ports-gnome-175c47ed298fe33b381ba0f0edd2b1a2176c3736.tar.gz
freebsd-ports-gnome-175c47ed298fe33b381ba0f0edd2b1a2176c3736.tar.zst
freebsd-ports-gnome-175c47ed298fe33b381ba0f0edd2b1a2176c3736.zip
- move AOLSERVERBASE under PREFIX
Approved by: garga (mentor)
Diffstat (limited to 'lang/xotcl')
-rw-r--r--lang/xotcl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/xotcl/Makefile b/lang/xotcl/Makefile
index 19df9970b2fd..1a33961133fe 100644
--- a/lang/xotcl/Makefile
+++ b/lang/xotcl/Makefile
@@ -29,7 +29,7 @@ GNU_CONFIGURE= yes
OPTIONS= ACTIWEB "Include actiweb" on \
TUTORIAL "Install XOTcl tutorial" off
.else
-AOLSERVERBASE?= ${LOCALBASE}/aolserver
+AOLSERVERBASE?= aolserver
.endif
.include <bsd.port.pre.mk>
@@ -38,7 +38,7 @@ AOLSERVERBASE?= ${LOCALBASE}/aolserver
RUN_DEPENDS+= ${LOCALBASE}/aolserver/bin/init.tcl:${PORTSDIR}/www/aolserver \
${LOCALBASE}/lib/xotcl${PORTVERSION}/xotclConfig.sh:${PORTSDIR}/lang/xotcl
PLIST= ${WRKDIR}/pkg-plist.aolserver
-PLIST_FILES= ${AOLSERVERBASE:S/${LOCALBASE}\///}/modules/tcl/xotcl.tcl
+PLIST_FILES= ${AOLSERVERBASE}/modules/tcl/xotcl.tcl
LATEST_LINK= aolserver-xotcl
NO_BUILD= yes
.endif
@@ -77,7 +77,8 @@ post-patch:
.if defined(AOLSERVER_XOTCL) # Install for aolserver module
do-install:
- @${INSTALL_DATA} ${WRKSRC}/generic/aol-xotcl.tcl ${AOLSERVERBASE}/modules/tcl/xotcl.tcl
+ @${INSTALL_DATA} ${WRKSRC}/generic/aol-xotcl.tcl \
+ ${PREFIX}/${AOLSERVERBASE}/modules/tcl/xotcl.tcl
.endif
.if !defined(AOLSERVER_XOTCL) # Aolserver module has no post-install