freebsd-ports/net-im/ttytter/Makefile
Martin Wilke 5b4448bdb0 TTYtter is a multi-functional, fully 100% text, Perl command line
Twitter client. It has the following features:

* A fully interactive client with asynchronous background updates and
  commands. Use it over telnet, ssh or even a dummy terminal.
  Supports ANSI colour, hashtags and Twitter Search!
* Works within your favourite environment: modify prompt and input
  methods for many popular window and session managers, or use a
  compatible readline library. Or don't: basic editing and screen
  management features built-in.
* From the command line, use it to update your Twitter in shell scripts,
  from cron, and so on.
* Supports standard timelines and automatically fetches direct messages.
* Extensible using the -lib option.
* Run detached in -daemon mode, and make your own Twitter bot!

WWW: http://www.floodgap.com/software/ttytter/

PR:		ports/132920
Submitted by:	Julian C. Dunn <jdunn at aquezada.com>
2009-03-22 15:03:57 +00:00

43 lines
1 KiB
Makefile

# New ports collection makefile for: ttytter
# Date created: 21 March 2009
# Whom: Julian C. Dunn <jdunn@aquezada.com>
#
# $FreeBSD$
PORTNAME= ttytter
PORTVERSION= 0.9.4
CATEGORIES= net-im
MASTER_SITES= http://www.floodgap.com/software/ttytter/
DISTFILES= ${PORTNAME}.txt
EXTRACT_ONLY=
MAINTAINER= jdunn@aquezada.com
COMMENT= Command-line Twitter client in Perl
RUN_DEPENDS= ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
curl:${PORTSDIR}/ftp/curl
NO_BUILD= yes
USE_PERL5_RUN= yes
OPTIONS= READLINE "Include rich readline support" on
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
.if defined(WITH_READLINE)
RUN_DEPENDS+= ${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${PORTNAME}.txt ${WRKSRC}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>