aboutsummaryrefslogtreecommitdiffstats
path: root/devel/newt
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2007-08-03 20:04:27 +0800
committerperky <perky@FreeBSD.org>2007-08-03 20:04:27 +0800
commit45775203ebee0a3eb856a4ce1cb447eae53b309e (patch)
tree06ed33c0353312c4d5b16944322aecc07e28491b /devel/newt
parent57b08b6fec34270a71667920fe86b07fc664a352 (diff)
downloadfreebsd-ports-gnome-45775203ebee0a3eb856a4ce1cb447eae53b309e.tar.gz
freebsd-ports-gnome-45775203ebee0a3eb856a4ce1cb447eae53b309e.tar.zst
freebsd-ports-gnome-45775203ebee0a3eb856a4ce1cb447eae53b309e.zip
- Fix snack module for Python 2.5 compatibility
- Remove old version support for < FreeBSD 5.0. - Release maintainership
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/Makefile17
-rw-r--r--devel/newt/distinfo3
2 files changed, 5 insertions, 15 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 2ee4badb3856..8a654230068b 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -7,14 +7,14 @@
PORTNAME= newt
PORTVERSION= 0.51.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
MASTER_SITE_SUBDIR= perky
-PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}${I18NSUFFIX}
+PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}
-MAINTAINER= perky@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Not Erik's Windowing Toolkit: console I/O handling library#'
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
@@ -50,18 +50,11 @@ PLIST_SUB+= TCLOPT="@comment "
.include <bsd.port.pre.mk>
-.if ${OSVERSION} <= 500038
-PATCH_SITES= ${MASTER_SITE_LOCAL} \
- http://people.freebsd.org/~perky/distfiles/
-PATCH_SITE_SUBDIR= perky
-PATCHFILES= newt-${PORTVERSION}-dei18n.diff.gz
-PATCH_DIST_STRIP= -p1
-I18NSUFFIX= -noi18n
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's,^\(SONAME=\).*,\1${SOVERSION},g' \
${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's,PyMem_DEL,PyObject_DEL,g' \
+ ${WRKSRC}/snackmodule.c
.if defined(WITH_PYTHON)
post-build:
diff --git a/devel/newt/distinfo b/devel/newt/distinfo
index a6b0f9b5aec2..bcd512219a88 100644
--- a/devel/newt/distinfo
+++ b/devel/newt/distinfo
@@ -1,6 +1,3 @@
MD5 (newt-0.51.0.tar.gz) = 33e9bbf29126dfdc0bd4b6bd1509b62d
SHA256 (newt-0.51.0.tar.gz) = 45c617654c466eeb56cf62eb45a66acea0e84039c7b16ce7172fb5567001642f
SIZE (newt-0.51.0.tar.gz) = 108158
-MD5 (newt-0.51.0-dei18n.diff.gz) = be97e7220064696c67f3b4c4a581161d
-SHA256 (newt-0.51.0-dei18n.diff.gz) = 6baaa26f2ce56ab3340ee453d3566775f75d030e29ab9bac59f8ca9e0bccecca
-SIZE (newt-0.51.0-dei18n.diff.gz) = 3594