summaryrefslogtreecommitdiff
path: root/devel/newt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/Makefile32
-rw-r--r--devel/newt/distinfo6
2 files changed, 16 insertions, 22 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 24157f025f46..afe23b969e00 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -1,9 +1,9 @@
PORTNAME= newt
-PORTVERSION= 0.52.24
+DISTVERSION= 0.52.25
CATEGORIES= devel
MASTER_SITES= https://releases.pagure.org/newt/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= atanubiswas484@gmail.com
COMMENT= Not Eriks Windowing Toolkit: console I/O handling library
WWW= https://pagure.io/newt
@@ -13,37 +13,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpopt.so:devel/popt \
libslang.so:devel/libslang2
-USES= autoreconf gmake localbase ncurses pathfix
+USES= autoreconf gmake localbase:ldflags ncurses pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
MAKE_ENV= PCFLAGS="${CFLAGS}"
-MAKE_JOBS_UNSAFE= yes
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lncurses
SUB_FILES= pkgIndex.tcl
-SUB_LIST= VERSION="${PORTVERSION}"
+SUB_LIST= VERSION="${DISTVERSION}"
-PLIST_SUB= SOVERSION="${SOVERSION}" \
- VERSION="${PORTVERSION}"
+PLIST_SUB= SOVERSION="${DISTVERSION:R:E}" \
+ VERSION="${DISTVERSION}"
OPTIONS_DEFINE= NLS PYTHON TCL
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
-NLS_USES= gettext
+NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
-PYTHON_USES= python
+PYTHON_USES= gettext-runtime python
PYTHON_CONFIGURE_WITH= python=${PYTHON_VERSION}
PYTHON_VARS= BINARY_ALIAS=python3=${PYTHON_VERSION}
TCL_USES= tcl
TCL_CONFIGURE_WITH= tcl
TCL_CONFIGURE_ENV= ac_cv_c_tclconfig=${TCL_LIBDIR:Q}
-TCL_CPPFLAGS= -I${TCL_INCLUDEDIR:Q}
-
-SOVERSION= ${PORTVERSION:R:E}
+TCL_CPPFLAGS= -I${TCL_INCLUDEDIR:Q} -DUSE_INTERP_RESULT
post-patch:
@${REINPLACE_CMD} -e \
@@ -65,10 +58,11 @@ post-install-PYTHON-on:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_snack.so
post-install-TCL-on:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/whip${DISTVERSION}
(cd ${WRKSRC} && ${INSTALL_LIB} whiptcl.so \
- ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION})
+ ${STAGEDIR}${PREFIX}/lib/whip${DISTVERSION})
(cd ${WRKDIR} && ${INSTALL_DATA} pkgIndex.tcl \
- ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION})
+ ${STAGEDIR}${PREFIX}/lib/whip${DISTVERSION})
+ @${RM} ${STAGEDIR}${PREFIX}/lib/whiptcl.so
.include <bsd.port.mk>
diff --git a/devel/newt/distinfo b/devel/newt/distinfo
index 9f14252e7a37..1fdbb875a9a1 100644
--- a/devel/newt/distinfo
+++ b/devel/newt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721747769
-SHA256 (newt-0.52.24.tar.gz) = 5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb
-SIZE (newt-0.52.24.tar.gz) = 176693
+TIMESTAMP = 1745899706
+SHA256 (newt-0.52.25.tar.gz) = ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82
+SIZE (newt-0.52.25.tar.gz) = 176729