blob: 73f5dbd65fb34abeb413437503dd1bb951efb36c (
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
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: ttytter
# Date created: 21 March 2009
# Whom: Julian C. Dunn <jdunn@aquezada.com>
#
# $FreeBSD$
PORTNAME= ttytter
PORTVERSION= 0.9.10
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>
|