aboutsummaryrefslogtreecommitdiff
path: root/lang/xotcl
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-07-02 22:44:13 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-07-02 22:44:13 +0000
commit36cebc538a36e33bca360a1620f12fad8b4926bb (patch)
tree6eb2b513ae682ef5385da544464cae1ef74ba2a7 /lang/xotcl
parentd7fa652b2c94207da8a897a03f719c75d9c1726a (diff)
downloadports-36cebc538a36e33bca360a1620f12fad8b4926bb.tar.gz
ports-36cebc538a36e33bca360a1620f12fad8b4926bb.zip
- move AOLSERVERBASE under PREFIX
Approved by: garga (mentor)
Notes
Notes: svn path=/head/; revision=194733
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