2003-12-28 02:43:36 +00:00
|
|
|
# New ports collection makefile for: insub
|
|
|
|
# Date created: 27 Dec 2003
|
|
|
|
# Whom: Alfred Perlstein <alfred@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= insub
|
2004-01-14 06:53:50 +00:00
|
|
|
PORTVERSION= 8.2
|
2003-12-28 02:43:36 +00:00
|
|
|
PORTREVISION?= 0
|
|
|
|
CATEGORIES?= irc
|
2003-12-28 09:33:38 +00:00
|
|
|
MASTER_SITES= http://gruntle.org/projects/irssi/insub/
|
2003-12-28 02:43:36 +00:00
|
|
|
|
|
|
|
MAINTAINER?= alfred@FreeBSD.org
|
2004-01-06 20:34:51 +00:00
|
|
|
COMMENT?= Some scripts for expressing how you feel on irc and the web
|
2003-12-28 02:43:36 +00:00
|
|
|
|
2003-12-28 09:33:38 +00:00
|
|
|
NO_BUILD= YES
|
2003-12-28 02:43:36 +00:00
|
|
|
|
2003-12-28 09:33:38 +00:00
|
|
|
SCRIPT= ${PORTNAME}.pl
|
|
|
|
|
2004-01-06 03:09:19 +00:00
|
|
|
BUILD_DEPENDS+= irssi:${PORTSDIR}/irc/irssi
|
2003-12-28 02:43:36 +00:00
|
|
|
BUILD_DEPENDS+= cowsay:${PORTSDIR}/games/cowsay
|
2004-01-06 02:02:58 +00:00
|
|
|
RUN_DEPENDS+= figlet:${PORTSDIR}/misc/figlet
|
|
|
|
RUN_DEPENDS+= p5-Term-ANSIColor:${PORTSDIR}/devel/p5-Term-ANSIColor
|
2003-12-28 02:43:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-12-28 09:33:38 +00:00
|
|
|
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}
|
2003-12-28 02:43:36 +00:00
|
|
|
|
|
|
|
do-install:
|
2003-12-30 11:38:33 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPT} ${LOCALBASE}/bin/${SCRIPT:R}
|
2003-12-28 09:33:38 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${SCRIPT} \
|
|
|
|
${LOCALBASE}/share/irssi/scripts/${SCRIPT}
|
|
|
|
for i in ${WRKSRC}/cows/* ; do \
|
|
|
|
${INSTALL_DATA} $$i ${LOCALBASE}/share/cows; \
|
2003-12-28 02:43:36 +00:00
|
|
|
done
|
|
|
|
|
2003-12-28 09:33:38 +00:00
|
|
|
|
2003-12-28 02:43:36 +00:00
|
|
|
.include <bsd.port.post.mk>
|