svn commit: r317644 - head/www/py-surl

Ruslan Mahmatkhanov rm at FreeBSD.org
Wed May 8 08:48:13 UTC 2013


Author: rm
Date: Wed May  8 08:48:12 2013
New Revision: 317644
URL: http://svnweb.freebsd.org/changeset/ports/317644

Log:
  - trim Makefile header
  - sort USE_* knobs alphabetically
  - limit python version to 2.x only
  - remove py-simplejson conditional (we have no pythons < 2.6 in ports)
  
  Approved by:	cs (maintainer, by mail)

Modified:
  head/www/py-surl/Makefile

Modified: head/www/py-surl/Makefile
==============================================================================
--- head/www/py-surl/Makefile	Wed May  8 08:04:04 2013	(r317643)
+++ head/www/py-surl/Makefile	Wed May  8 08:48:12 2013	(r317644)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	py-surl
-# Date created:		2010-10-04
-# Whom:			Carlo Strub <c-s at c-s.li>
-#
+# Created by: Carlo Strub <c-s at c-s.li>
 # $FreeBSD$
-#
 
 PORTNAME=	surl
 PORTVERSION=	0.7.1.1
@@ -17,19 +13,14 @@ COMMENT=	URL shortening command line app
 
 LICENSE=	GPLv3
 
-USE_PYTHON=	2.5+
-USE_PYDISTUTILS=yes
 USE_BZIP2=	yes
-MAN1=		surl.1
-
-.include <bsd.port.pre.mk>
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=yes
 
-.if ${PYTHON_REL} < 260
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
-.endif
+MAN1=		surl.1
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,share/man/man1,${PREFIX}/man/man1,g' \
-	                ${WRKSRC}/setup.py
+		${WRKSRC}/setup.py
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list