1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/irc/insub/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Alfred Perlstein <alfred@FreeBSD.org>
# $FreeBSD$
2014-07-17 12:26:20 +00:00
PORTNAME= insub
2014-03-15 21:05:38 +00:00
PORTVERSION= 16.0
2014-07-17 12:26:20 +00:00
CATEGORIES= irc
2014-03-15 21:05:38 +00:00
MASTER_SITES= http://github.com/cjones/${PORTNAME}/archive/${DISTNAME}.tar.gz?dummy=/
2014-07-17 12:26:20 +00:00
MAINTAINER= adamw@FreeBSD.org
COMMENT= Some scripts for expressing how you feel on IRC and the web
2011-07-06 01:01:15 +00:00
RUN_DEPENDS= cowsay:${PORTSDIR}/games/cowsay \
2014-07-17 12:26:20 +00:00
figlet:${PORTSDIR}/misc/figlet
2011-07-06 01:01:15 +00:00
2014-08-23 03:15:02 +00:00
USES= perl5 python:2.5+
2013-09-30 14:16:36 +00:00
USE_PERL5= run
2014-03-15 21:05:38 +00:00
OPTIONS_DEFINE= COWS
OPTIONS_DEFAULT=COWS
2014-07-17 12:26:20 +00:00
COWS_DESC= Install a collection of cowsay(1) cows
2014-03-15 21:05:38 +00:00
OPTIONS_SUB= yes
2013-09-30 14:16:36 +00:00
NO_BUILD= yes
2014-03-15 21:05:38 +00:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}
DATADIR= ${PREFIX}/share/cows
2014-03-15 21:05:38 +00:00
post-patch:
2014-08-23 03:15:02 +00:00
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
2014-03-15 21:05:38 +00:00
${WRKSRC}/${PORTNAME}.py ${WRKSRC}/irssi/${PORTNAME}.pl
do-install:
2014-03-15 21:05:38 +00:00
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/irssi/scripts
${INSTALL_DATA} ${WRKSRC}/irssi/${PORTNAME}.pl \
${STAGEDIR}${PREFIX}/share/irssi/scripts
@${MKDIR} ${STAGEDIR}${DATADIR}
2014-03-15 21:05:38 +00:00
(cd ${WRKSRC}/old/cows-extra && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>