summaryrefslogtreecommitdiff
path: root/net-im/tik/Makefile
blob: 893bd3540d5290ec375956db47238e125db48f0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# New ports collection makefile for:	tik
# Date created:				13 January 1999
# Whom:					Eugene M. Kim <astralblue@usa.net>
#
# $FreeBSD$
#

PORTNAME=	tik
PORTVERSION=	0.87
CATEGORIES=	net tk82
MASTER_SITES=	http://download.sourceforge.net/tik/ \
		http://anti-aol.org/dionysos/l33t_filez/

MAINTAINER=	astralblue@usa.net

RUN_DEPENDS=	tclsh8.2:${PORTSDIR}/lang/tcl82 \
		wish8.2:${PORTSDIR}/x11-toolkits/tk82

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/tik
PLIST=		${WRKDIR}/PLIST

SORT?=		sort

SRCDIRS= 	share/tik share/tik/media share/tik/packages share/tik/strs
SRCFILES=	media/AOL.gif media/Admin.gif media/Away.gif media/DT.gif  \
		media/DoorSlam.wav media/Icon.gif media/Idle.gif           \
		media/Pounce.wav media/Login.gif media/add.gif             \
		media/angel.gif media/back.gif media/bigsmile.gif          \
		media/block.gif media/bold.gif media/bsmile.gif            \
		media/burp.gif media/chat.gif media/close.gif              \
		media/color.gif media/crossedlips.gif media/cry.gif        \
		media/delete.gif media/dooropen.wav media/embarrassed.gif  \
		media/font.gif media/ignore.gif media/im.gif               \
		media/imrcv.wav media/imsend.wav media/info.gif            \
		media/invite.gif media/italic.gif media/kiss.gif           \
		media/moneymouth.gif media/ok.gif media/ring.wav           \
		media/sad.gif media/scream.gif media/send.gif              \
		media/smile.gif media/smile8.gif media/strike.gif          \
		media/think.gif media/tongue.gif media/underline.gif       \
		media/warn.gif media/whisper.gif media/wink.gif            \
		media/Logo.gif media/Logout.gif media/Oscar.gif            \
		media/downarrow.gif media/uparrow.gif media/BuddyArrive.au \
		media/BuddyLeave.au media/Receive.au media/yell.gif        \
		media/Send.au						   \
		packages/HTTPProxy.tcl packages/away.tcl packages/beat.tcl \
		packages/bcast.tcl packages/boxinfo.tcl			   \
		packages/buddylog.tcl packages/chatcapture.tcl		   \
		packages/control.tcl packages/dir.tcl packages/getaway.tcl \
		packages/filetrans.tcl packages/imcapture.tcl		   \
		packages/mynews.tcl packages/pounce.tcl                    \
		packages/quickchat.tcl packages/search.tcl                 \
		packages/remoteadmin.tcl packages/remotegui.tcl  	   \
		packages/socksproxy.tcl packages/sslproxy.tcl              \
		packages/ticker.tcl strs/English.strs sflap.tcl            \
		buddylist.tcl buddymgmt.tcl callbacks.tcl chat.tcl	   \
		configandpkg.tcl im.tcl info.tcl popup.tcl preproc.tcl	   \
		protocol.tcl proxy.tcl ui.tcl util.tcl version.tcl	   \
		configTool.tcl toc.tcl tik.tcl sag.tcl
EGDIR=		share/examples/tik
EGFILES=	example.tikstrs example.tikpre example.tikrc
DOCDIR=		share/doc/tik
DOCFILES=	CHANGES CONTRIBUTORS COPYING LICENSE README-LANG	   \
		NEW-FEATURES TODO

# The packing list starts with just bin/tik.  As we install things,
# build onto the list.
do-install:
	@${CP} ${PKGDIR}/pkg-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
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/${DOCDIR}
	@${ECHO} @dirrm ${DOCDIR} >> ${PLIST}.dirrm
.for f in ${DOCFILES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}/${f}
	@${ECHO} ${DOCDIR}/${f} >> ${PLIST}
.endfor
.endif
	@${SORT} -r ${PLIST}.dirrm >> ${PLIST} && ${RM} ${PLIST}.dirrm

.include <bsd.port.mk>