aboutsummaryrefslogtreecommitdiffstats
path: root/irc/insub/Makefile
blob: 66bea65ba916230824a5ba043f42f30ebb363201 (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
# New ports collection makefile for:    insub
# Date created:         27 Dec 2003
# Whom:             Alfred Perlstein <alfred@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   insub
PORTVERSION=    15.1
CATEGORIES= irc
MASTER_SITES=   http://cloud.github.com/downloads/cjones/insub/

MAINTAINER= adamw@FreeBSD.org
COMMENT=    Some scripts for expressing how you feel on IRC and the web

RUN_DEPENDS=    cowsay:${PORTSDIR}/games/cowsay \
        figlet:${PORTSDIR}/misc/figlet

NO_BUILD=   YES

USE_BZIP2=  YES
USE_PERL5=  5.6+

SCRIPT= ${PORTNAME}.pl

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPT} ${PREFIX}/bin/${SCRIPT:R}
    ${MKDIR} ${PREFIX}/share/irssi/scripts/
    ${INSTALL_DATA} ${WRKSRC}/${SCRIPT} \
        ${PREFIX}/share/irssi/scripts/${SCRIPT}
    ${MKDIR} ${PREFIX}/share/cows/
    cd ${WRKSRC} && \
        ${FIND} cows | ${CPIO} -pdmu ${PREFIX}/share/

.include <bsd.port.mk>