head	1.6;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.03.01;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.03.13.14.14.05;	author cs;	state Exp;
branches;
next	1.4;

1.4
date	2011.09.21.06.59.13;	author cs;	state Exp;
branches;
next	1.3;

1.3
date	2011.09.15.12.33.27;	author cs;	state Exp;
branches;
next	1.2;

1.2
date	2010.10.19.14.56.40;	author glarkin;	state Exp;
branches;
next	1.1;

1.1
date	2010.10.19.14.53.51;	author glarkin;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# Ports collection makefile for:	py-surl
# Date created:		2010-10-04
# Whom:			Carlo Strub <c-s@@c-s.li>
#
# $FreeBSD: head/www/py-surl/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	surl
PORTVERSION=	0.7.1.1
CATEGORIES=	www
MASTER_SITES=	http://launchpadlibrarian.net/96097348/ \
		http://www.c-s.li/ports/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	cs@@FreeBSD.org
COMMENT=	URL shortening command line application

LICENSE=	GPLv3

USE_PYTHON=	2.5+
USE_PYDISTUTILS=yes
USE_BZIP2=	yes
MAN1=		surl.1

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 260
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's,share/man/man1,${PREFIX}/man/man1,g' \
	                ${WRKSRC}/setup.py

.include <bsd.port.post.mk>
@


1.5
log
@Update to 0.7.1.1 and add man page

Approved by:	glarkin@@ (mentor, implicit)
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Depend on simplejson conditionally

PR:		ports/160394
Submitted by:	Ruslan Mahmatkhanov <cvs-src@@yandex.ru>
Approved by:	wen@@ (co-mentor)
@
text
@d9 1
a9 2
PORTVERSION=	0.7.0
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://launchpadlibrarian.net/37026875/ \
d23 1
d31 4
@


1.3
log
@Change maintainer address to my FreeBSD address

Approved by:	wen@@ (mentor)
@
text
@d10 1
a18 3
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson

d25 7
a31 1
.include <bsd.port.mk>
@


1.2
log
@- Add missing RUN_DEPENDS
@
text
@d15 1
a15 1
MAINTAINER=	c-s@@c-s.li
@


1.1
log
@surl is a URL shortening command line application that supports
various sites.  It supports stdin or filename input. It grabs the
URLs, converts them, and returns the same text that was used in the
input. It is known to work with a wealth of services, such as bit.ly,
goo.gl, tinyurl.com and tr.im.

WWW: https://launchpad.net/surl

PR:		ports/151189
Submitted by:	Carlo Strub <c-s at c-s.li>
@
text
@d19 1
@

