blob: 9bac7e0af797695fe5aa959834164d3e4b0f15a1 (
plain)
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
|
# New ports collection makefile for: insub
# Date created: 27 Dec 2003
# Whom: Alfred Perlstein <alfred@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= insub
PORTVERSION= 8.2
PORTREVISION?= 0
CATEGORIES?= irc
MASTER_SITES= http://gruntle.org/projects/irssi/insub/
MAINTAINER?= alfred@FreeBSD.org
COMMENT?= Some scripts for expressing how you feel on irc and the web
NO_BUILD= YES
SCRIPT= ${PORTNAME}.pl
BUILD_DEPENDS+= irssi:${PORTSDIR}/irc/irssi
BUILD_DEPENDS+= cowsay:${PORTSDIR}/games/cowsay
RUN_DEPENDS+= figlet:${PORTSDIR}/misc/figlet
RUN_DEPENDS+= p5-Term-ANSIColor:${PORTSDIR}/devel/p5-Term-ANSIColor
.include <bsd.port.pre.mk>
post-install:
@${ECHO}
@${ECHO} " insub has been installed in irssi's global script store."
@${ECHO} " To run, you should type '/script load insub' from within"
@${ECHO} " the irssi client."
@${ECHO}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPT} ${LOCALBASE}/bin/${SCRIPT:R}
${MKDIR} ${LOCALBASE}/share/irssi/scripts/
${INSTALL_DATA} ${WRKSRC}/${SCRIPT} \
${LOCALBASE}/share/irssi/scripts/${SCRIPT}
for i in ${WRKSRC}/cows/* ; do \
${INSTALL_DATA} $$i ${LOCALBASE}/share/cows; \
done
.include <bsd.port.post.mk>
|