2003-12-28 03:43:36 +01:00
|
|
|
# New ports collection makefile for: insub
|
|
|
|
# Date created: 27 Dec 2003
|
|
|
|
# Whom: Alfred Perlstein <alfred@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= insub
|
2007-01-16 07:49:08 +01:00
|
|
|
PORTVERSION= 10.1
|
2005-10-05 00:11:10 +02:00
|
|
|
#PORTREVISION= 1
|
2004-07-06 03:30:22 +02:00
|
|
|
CATEGORIES= irc
|
2003-12-28 10:33:38 +01:00
|
|
|
MASTER_SITES= http://gruntle.org/projects/irssi/insub/
|
2003-12-28 03:43:36 +01:00
|
|
|
|
2004-07-06 03:30:22 +02:00
|
|
|
MAINTAINER= alfred@FreeBSD.org
|
|
|
|
COMMENT= Some scripts for expressing how you feel on irc and the web
|
2003-12-28 03:43:36 +01:00
|
|
|
|
2003-12-28 10:33:38 +01:00
|
|
|
NO_BUILD= YES
|
2003-12-28 03:43:36 +01:00
|
|
|
|
2004-12-05 00:58:13 +01:00
|
|
|
USE_BZIP2= YES
|
|
|
|
|
2003-12-28 10:33:38 +01:00
|
|
|
SCRIPT= ${PORTNAME}.pl
|
|
|
|
|
2003-12-28 03:43:36 +01:00
|
|
|
BUILD_DEPENDS+= cowsay:${PORTSDIR}/games/cowsay
|
2004-01-06 03:02:58 +01:00
|
|
|
RUN_DEPENDS+= figlet:${PORTSDIR}/misc/figlet
|
2004-01-17 11:02:28 +01:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
|
2003-12-28 03:43:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-12-28 10:33:38 +01: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 03:43:36 +01:00
|
|
|
|
|
|
|
do-install:
|
2003-12-30 12:38:33 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPT} ${LOCALBASE}/bin/${SCRIPT:R}
|
2004-01-14 09:19:05 +01:00
|
|
|
${MKDIR} ${LOCALBASE}/share/irssi/scripts/
|
2003-12-28 10:33:38 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${SCRIPT} \
|
|
|
|
${LOCALBASE}/share/irssi/scripts/${SCRIPT}
|
|
|
|
for i in ${WRKSRC}/cows/* ; do \
|
2004-07-05 12:28:14 +02:00
|
|
|
case `basename $$i` in \
|
|
|
|
*) ${INSTALL_DATA} $$i ${LOCALBASE}/share/cows; \
|
|
|
|
esac \
|
2003-12-28 03:43:36 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|