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:
Ruslan Makhmatkhanov 2012-09-12 17:48:02 +00:00
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

View file

@ -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//}

View file

@ -1,6 +1,6 @@
Newt is a windowing toolkit for text mode built from the slang Newt is a windowing toolkit for text mode built from the slang
library. It allows color text mode applications to easily use library. It allows color text mode applications to easily use
stackable windows, push buttons, check boxes, radio buttons, lists, stackable windows, push buttons, check boxes, radio buttons, lists,
entry fields, labels, and displayable text. Scrollbars are supported, entry fields, labels, and displayable text. Scrollbars are supported,
and forms may be nested to provide extra functionality. and forms may be nested to provide extra functionality.
@ -9,4 +9,4 @@ be used from shell scripts similarly to Savio Lam's "dialog". Newt
provides the textual interface for the Red Hat and Debian boot provides the textual interface for the Red Hat and Debian boot
disks. disks.
WWW: https://fedorahosted.org/newt/ WWW: https://fedorahosted.org/newt/