- 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)
This commit is contained in:
parent
3a4a8bf8a5
commit
3841e7e6db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317644
@ -1,9 +1,5 @@
|
||||
# Ports collection makefile for: py-surl
|
||||
# Date created: 2010-10-04
|
||||
# Whom: Carlo Strub <c-s@c-s.li>
|
||||
#
|
||||
# Created by: Carlo Strub <c-s@c-s.li>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= surl
|
||||
PORTVERSION= 0.7.1.1
|
||||
@ -17,19 +13,14 @@ COMMENT= URL shortening command line application
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_PYTHON= 2.5+
|
||||
USE_PYDISTUTILS=yes
|
||||
USE_BZIP2= yes
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS=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
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user