openbsd-ports/net/twirssi/Makefile

35 lines
612 B
Makefile

# $OpenBSD: Makefile,v 1.10 2013/06/15 08:09:25 sthen Exp $
COMMENT= Twitter script for irssi
V= 2.6.0
DISTNAME= twirssi-$V
CATEGORIES= net
HOMEPAGE= http://www.twirssi.com/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_ONLY=
EXTRACT_SUFX= .pl
RUN_DEPENDS= net/irssi \
net/p5-Net-Twitter \
www/p5-WWW-Shorten
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
SCRIPT_DATA_DIR= ${PREFIX}/share/twirssi
SUBST_VARS= SCRIPT_DATA_DIR
do-install:
${INSTALL_DATA_DIR} ${SCRIPT_DATA_DIR}
${INSTALL_SCRIPT} ${FULLDISTDIR}/twirssi-$V.pl \
${SCRIPT_DATA_DIR}/twirssi.pl
.include <bsd.port.mk>