1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/openverse/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

48 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.7
PORTREVISION= 2
CATEGORIES= net tcl84 tk84
MASTER_SITES= http://www.openverse.com/files/OpenVerse/
DISTNAME= ${PORTNAME}-0.8-7
MAINTAINER= ports@FreeBSD.org
COMMENT= A visual chat program written in Tcl/Tk
USE_TK_RUN= yes
USE_TCL_RUN= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/OpenVerse
STRIP= # Nothing to Strip
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' \
-e 's|/usr/lib/OpenVerse|${PREFIX}/lib/OpenVerse|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_PROGRAM} ${WRKSRC}/OpenVerse.tcl ${WRKSRC}/server.tcl \
${PREFIX}/lib/OpenVerse/
${INSTALL_DATA} ${WRKSRC}/server.cfg ${WRKSRC}/passageways.txt \
${PREFIX}/lib/OpenVerse/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/help
${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/doc/OpenVerse/help
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/OpenVerse/README
.endif
post-install:
${LN} -sf ${PREFIX}/lib/OpenVerse/OpenVerse.tcl ${PREFIX}/bin/OpenVerse
.include <bsd.port.mk>