mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# Ports collection makefile for: OpenVerse
|
|
# Date created: 24 Feb 2001
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= OpenVerse
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= net tk82
|
|
MASTER_SITES= http://sisko.se.wp.cc.nc.us/~ahze/
|
|
|
|
MAINTAINER= ahze@rgv.net
|
|
|
|
RUN_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82 \
|
|
wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/OpenVerse
|
|
|
|
pre-build:
|
|
${PERL} -pi -e "s@set OvRunDir /usr/lib/OpenVerse@set OvRunDir ${PREFIX}/lib/OpenVerse@g ; \
|
|
s@/usr/bin/wish@${LOCALBASE}/bin/wish8.2@g" ${WRKSRC}/OpenVerse.tcl
|
|
|
|
do-install:
|
|
.for DIR in anims icons images language lib panels plugins/Query rooms
|
|
${MKDIR} ${PREFIX}/lib/OpenVerse/${DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${DIR}/* ${PREFIX}/lib/OpenVerse/${DIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/OpenVerse.tcl ${WRKSRC}/server.cfg ${WRKSRC}/server.tcl \
|
|
${WRKSRC}/passageways.txt ${PREFIX}/lib/OpenVerse/
|
|
${MKDIR} ${PREFIX}/share/doc/OpenVerse/help
|
|
${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/doc/OpenVerse/help
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/OpenVerse/README
|
|
|
|
post-install:
|
|
@${ECHO} "Please read the documentation for OpenVerse located in"
|
|
@${ECHO} "${PREFIX}/share/doc/OpenVerse/help and ${PREFIX}/share/doc/OpenVerse/README."
|
|
${LN} -sf ${PREFIX}/lib/OpenVerse/OpenVerse.tcl ${PREFIX}/bin/OpenVerse
|
|
|
|
.include <bsd.port.mk>
|