aboutsummaryrefslogtreecommitdiffstats
path: root/irc/insub/Makefile
blob: 9307469034d66955c10dcd9cc982b3d3f985a852 (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
# 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

NO_BUILD=   YES

USE_BZIP2=  YES
USE_PERL5=  run

SCRIPT= ${PORTNAME}.pl

NO_STAGE=   yes
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>