aboutsummaryrefslogtreecommitdiffstats
path: root/irc/insub/Makefile
blob: 60fb32cc5526bbbfae906240813a0398a91426f1 (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
# Created by: 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

USES=       perl5 tar:bzip2
USE_PERL5=  run

NO_BUILD=   yes
SCRIPT=     ${PORTNAME}.pl
DATADIR=    ${PREFIX}/share/cows

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPT} ${STAGEDIR}${PREFIX}/bin/${SCRIPT:R}
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/irssi/scripts/
    ${INSTALL_DATA} ${WRKSRC}/${SCRIPT} \
        ${STAGEDIR}${PREFIX}/share/irssi/scripts/${SCRIPT}
    @${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC}/cows && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})

.include <bsd.port.mk>