1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/py-surl/Makefile
Carlo Strub 29591204bc Update to 0.7.1.1 and add man page
Approved by:	glarkin@ (mentor, implicit)
Feature safe:	yes
2012-03-13 14:14:05 +00:00

36 lines
744 B
Makefile

# Ports collection makefile for: py-surl
# Date created: 2010-10-04
# Whom: Carlo Strub <c-s@c-s.li>
#
# $FreeBSD$
#
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>