aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-09-13 01:48:02 +0800
committerrm <rm@FreeBSD.org>2012-09-13 01:48:02 +0800
commit6fd12ebcd158c571a6f50fb147c7a1e111ec0821 (patch)
tree7469919f5bb82b6f27795cb244289a48a475562f
parent1213df460d6e12335d924769c62078bc3576f020 (diff)
downloadfreebsd-ports-gnome-6fd12ebcd158c571a6f50fb147c7a1e111ec0821.tar.gz
freebsd-ports-gnome-6fd12ebcd158c571a6f50fb147c7a1e111ec0821.tar.zst
freebsd-ports-gnome-6fd12ebcd158c571a6f50fb147c7a1e111ec0821.zip
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
-rw-r--r--devel/newt/Makefile10
-rw-r--r--devel/newt/pkg-descr4
2 files changed, 4 insertions, 10 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 5bebe3fe16b6..b15e993a0137 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: newt
-# Date created: 08 Jan 2000
-# Whom: Will Andrews <andrews@technologist.com>
-#
# $FreeBSD$
-#
PORTNAME= newt
PORTVERSION= 0.52.11
@@ -13,7 +8,7 @@ MASTER_SITES= https://fedorahosted.org/releases/n/e/newt/
PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}
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 \
popt:${PORTSDIR}/devel/popt
@@ -39,8 +34,7 @@ USE_GETTEXT= yes
.endif
.if defined(WITH_PYTHON)
PYTHONSUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
-BUILD_DEPENDS+= ${PYDISTUTILS}
-USE_PYTHON= yes
+USE_PYTHON= -2.7
MAKE_ENV+= WITH_PYTHON=yes
PLIST_SUB+= PYTHONOPT="" \
PYNUM=${PYTHON_VERSION:S/python//}
diff --git a/devel/newt/pkg-descr b/devel/newt/pkg-descr
index cfa5027054c6..2967ae496d37 100644
--- a/devel/newt/pkg-descr
+++ b/devel/newt/pkg-descr
@@ -1,6 +1,6 @@
Newt is a windowing toolkit for text mode built from the slang
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,
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
disks.
-WWW: https://fedorahosted.org/newt/
+WWW: https://fedorahosted.org/newt/