From 36cebc538a36e33bca360a1620f12fad8b4926bb Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Mon, 2 Jul 2007 22:44:13 +0000 Subject: - move AOLSERVERBASE under PREFIX Approved by: garga (mentor) --- lang/xotcl/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lang/xotcl') 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 @@ -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 -- cgit v1.2.3