1998-12-24 15:28:00 +00:00
|
|
|
# New ports collection makefile for: tik
|
1999-03-10 07:30:12 +00:00
|
|
|
# Version required: 0.59
|
|
|
|
# Date created: 13 January 1999
|
|
|
|
# Whom: Eugene M. Kim <astralblue@usa.net>
|
1998-12-24 15:28:00 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-12-24 15:28:00 +00:00
|
|
|
#
|
|
|
|
|
1999-03-10 07:30:12 +00:00
|
|
|
DISTNAME= tik-0.59
|
1998-12-24 15:28:00 +00:00
|
|
|
CATEGORIES= net tk80
|
1999-03-10 07:30:12 +00:00
|
|
|
MASTER_SITES= http://www.aim.aol.com/tik/ \
|
|
|
|
http://www.nectar.com/distfiles/
|
1998-12-24 15:28:00 +00:00
|
|
|
|
1999-01-18 03:15:33 +00:00
|
|
|
MAINTAINER= astralblue@usa.net
|
1998-12-24 15:28:00 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80 \
|
|
|
|
wish8.0:${PORTSDIR}/x11-toolkits/tk80
|
|
|
|
|
1999-03-10 07:30:12 +00:00
|
|
|
NO_BUILD= yes
|
1998-12-24 15:28:00 +00:00
|
|
|
WRKSRC= ${WRKDIR}/tik
|
1999-03-10 07:30:12 +00:00
|
|
|
PLIST= ${WRKDIR}/PLIST
|
1999-01-18 03:15:33 +00:00
|
|
|
|
1999-03-10 07:30:12 +00:00
|
|
|
SORT?= sort
|
|
|
|
|
|
|
|
SRCDIRS= share/tik share/tik/media share/tik/packages
|
|
|
|
SRCFILES= media/AOL.gif media/Admin.gif media/DT.gif media/Login.gif \
|
|
|
|
media/Logo.gif media/Logout.gif media/Oscar.gif \
|
|
|
|
media/downarrow.gif media/uparrow.gif media/BuddyArrive.au \
|
|
|
|
media/BuddyLeave.au media/Pounce.au media/Receive.au \
|
|
|
|
media/Send.au packages/away.tcl packages/imcapture.tcl \
|
|
|
|
packages/mynews.tcl packages/pounce.tcl \
|
|
|
|
packages/quickchat.tcl packages/search.tcl \
|
|
|
|
packages/socksproxy.tcl packages/sslproxy.tcl \
|
|
|
|
packages/stock.tcl packages/ticker.tcl sflap.tcl \
|
|
|
|
configTool.tcl toc.tcl tik.tcl tac.tcl sag.tcl
|
|
|
|
EGDIR= share/examples/tik
|
|
|
|
EGFILES= example.tacrc example.tikpre example.tikrc
|
|
|
|
DOCDIR= share/doc/tik
|
|
|
|
DOCFILES= CHANGES LICENSE README PROTOCOL
|
1998-12-24 15:28:00 +00:00
|
|
|
|
1999-03-10 07:30:12 +00:00
|
|
|
# The packing list starts with just bin/tik. As we install things,
|
|
|
|
# build onto the list.
|
1998-12-24 15:28:00 +00:00
|
|
|
do-install:
|
1999-03-10 07:30:12 +00:00
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST}
|
|
|
|
.for d in ${SRCDIRS}
|
|
|
|
@${MKDIR} ${PREFIX}/${d}
|
|
|
|
@${ECHO} @dirrm ${d} >> ${PLIST}.dirrm
|
|
|
|
.endfor
|
|
|
|
.for f in ${SRCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/tik/${f}
|
|
|
|
@${ECHO} share/tik/${f} >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/${EGDIR}
|
|
|
|
@${ECHO} @dirrm ${EGDIR} >> ${PLIST}.dirrm
|
|
|
|
.for f in ${EGFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${EGDIR}/${f}
|
|
|
|
@${ECHO} ${EGDIR}/${f} >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
@${SED} 's#@PREFIX@#${PREFIX}#g' < ${FILESDIR}/tik >${WRKDIR}/tik.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tik.sh ${PREFIX}/bin/tik
|
1999-01-18 03:15:33 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-03-10 07:30:12 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
@${ECHO} @dirrm ${DOCDIR} >> ${PLIST}.dirrm
|
|
|
|
.for f in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}/${f}
|
|
|
|
@${ECHO} ${DOCDIR}/${f} >> ${PLIST}
|
|
|
|
.endfor
|
1999-01-18 03:15:33 +00:00
|
|
|
.endif
|
1999-03-10 07:30:12 +00:00
|
|
|
@${SORT} -r ${PLIST}.dirrm >> ${PLIST} && ${RM} ${PLIST}.dirrm
|
1998-12-24 15:28:00 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|