mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Remove ${PYDISTUTILS} from BUILD_DEPENDS. That was the only consumer of this.
while on it: - strip Makefile header - make COMMENT looks nicier - limit python version to 2.x - whitespace fixes in pkg-descr
This commit is contained in:
parent
2db179e4d5
commit
ec7fbd5a3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304156
2 changed files with 4 additions and 10 deletions
|
@ -1,9 +1,4 @@
|
||||||
# New ports collection makefile for: newt
|
|
||||||
# Date created: 08 Jan 2000
|
|
||||||
# Whom: Will Andrews <andrews@technologist.com>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= newt
|
PORTNAME= newt
|
||||||
PORTVERSION= 0.52.11
|
PORTVERSION= 0.52.11
|
||||||
|
@ -13,7 +8,7 @@ MASTER_SITES= https://fedorahosted.org/releases/n/e/newt/
|
||||||
PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}
|
PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Not Erik's Windowing Toolkit: console I/O handling library#'
|
COMMENT= Not Erik's Windowing Toolkit: console I/O handling library
|
||||||
|
|
||||||
LIB_DEPENDS= slang:${PORTSDIR}/devel/libslang2 \
|
LIB_DEPENDS= slang:${PORTSDIR}/devel/libslang2 \
|
||||||
popt:${PORTSDIR}/devel/popt
|
popt:${PORTSDIR}/devel/popt
|
||||||
|
@ -39,8 +34,7 @@ USE_GETTEXT= yes
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_PYTHON)
|
.if defined(WITH_PYTHON)
|
||||||
PYTHONSUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
|
PYTHONSUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
|
||||||
BUILD_DEPENDS+= ${PYDISTUTILS}
|
USE_PYTHON= -2.7
|
||||||
USE_PYTHON= yes
|
|
||||||
MAKE_ENV+= WITH_PYTHON=yes
|
MAKE_ENV+= WITH_PYTHON=yes
|
||||||
PLIST_SUB+= PYTHONOPT="" \
|
PLIST_SUB+= PYTHONOPT="" \
|
||||||
PYNUM=${PYTHON_VERSION:S/python//}
|
PYNUM=${PYTHON_VERSION:S/python//}
|
||||||
|
|
Loading…
Add table
Reference in a new issue