mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
1302e86a04
9.6: Sat Dec 4 14:47:12 PST 2004 * fix critical bug in arg processing 9.5: Sat Dec 4 01:17:37 PST 2004 * moved -exec command into process(), so irssi can use it * fix bug that wouldn't let '0' be printed by itself * add -repeat flag ("-repeat 3 foo" becomes foofoofoo) * fix bug that would prevent a single character from displaying * retool -sine iterator a little better * minor code cleanup * make both -wave and -sine do the same thing PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: insub
|
|
# Date created: 27 Dec 2003
|
|
# Whom: Alfred Perlstein <alfred@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= insub
|
|
PORTVERSION= 9.6
|
|
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
|
|
|
|
USE_BZIP2= YES
|
|
|
|
SCRIPT= ${PORTNAME}.pl
|
|
|
|
BUILD_DEPENDS+= cowsay:${PORTSDIR}/games/cowsay
|
|
RUN_DEPENDS+= figlet:${PORTSDIR}/misc/figlet
|
|
RUN_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${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 \
|
|
case `basename $$i` in \
|
|
*) ${INSTALL_DATA} $$i ${LOCALBASE}/share/cows; \
|
|
esac \
|
|
done
|
|
|
|
.include <bsd.port.post.mk>
|