mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
ef36ecae7d
- Fix DISTFILES: do not hardcode version - Add perl5 CATEGORIES - Use bsd.port.options.mk - Make portlint happier - Cosmetic change Changes: http://www.floodgap.com/software/ttytter/dl.html 1.1.12: - Patches for Perl 5.14 (thanks @rkfb for the report). - Keyfiles can now be regenerated if they are corrupted or need to be updated with -retoke. - /doesfollow should give true or false with -runcommand (thanks @kaleidoscopique for the report). Similarly, /short should also work, emitting the URL (thanks @microlifter for that report). - Properly understands a new Twitter ad-hoc error format, which repairs some operations that would unexpectedly appear to succeed but didn't actually (thanks @augmentedfourth for the report). - -readline autocomplete command list now up-to-date. 1.1.11: - Fixed a bug where TTYtter crashes ungracefully if OAuth credentials fail. - Fixed regex in command processor that interpreted all commands starting with /p as /print. - -notimeline is now properly recognized by /set as a boolean. - One last issue related to URL shortening. PR: ports/157888 Submitted by: sunpoet (myself) Approved by: Julian Dunn <jdunn@aquezada.com> (maintainer)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: ttytter
|
|
# Date created: 21 March 2009
|
|
# Whom: Julian C. Dunn <jdunn@aquezada.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ttytter
|
|
PORTVERSION= 1.1.12
|
|
CATEGORIES= net-im perl5
|
|
MASTER_SITES= http://www.floodgap.com/software/ttytter/dist1/
|
|
DISTNAME= ${PORTVERSION}
|
|
EXTRACT_SUFX= .txt
|
|
|
|
MAINTAINER= jdunn@aquezada.com
|
|
COMMENT= Command-line Twitter client in Perl
|
|
|
|
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5_RUN= yes
|
|
|
|
OPTIONS= READLINE "Include rich readline support" on \
|
|
RLTTYTTER "Use T::R::TTYtter readline driver (beta!)" off \
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !defined(WITHOUT_READLINE)
|
|
RUN_DEPENDS+= p5-ReadLine-Perl>=0:${PORTSDIR}/devel/p5-ReadLine-Perl
|
|
.endif
|
|
|
|
.if defined(WITH_RLTTYTTER)
|
|
RUN_DEPENDS+= p5-ReadLine-TTYtter>=0:${PORTSDIR}/devel/p5-ReadLine-TTYtter
|
|
.endif
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTFILES}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/${DISTFILES}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|