diff --git a/devel/newt/Makefile b/devel/newt/Makefile index 9d2ab5c7014f..589d66e0e0fe 100644 --- a/devel/newt/Makefile +++ b/devel/newt/Makefile @@ -1,73 +1,72 @@ PORTNAME= newt PORTVERSION= 0.52.21 CATEGORIES= devel MASTER_SITES= https://releases.pagure.org/newt/ MAINTAINER= ports@FreeBSD.org COMMENT= Not Eriks Windowing Toolkit: console I/O handling library LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpopt.so:devel/popt \ libslang.so:devel/libslang2 USES= autoreconf gmake localbase ncurses pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes 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}" PLIST_SUB= SOVERSION="${SOVERSION}" \ VERSION="${PORTVERSION}" OPTIONS_DEFINE= NLS PYTHON TCL OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PYTHON_USES= 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} post-patch: - @${REINPLACE_CMD} -e 's|-DUSE_INTERP_RESULT||' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e \ 's|@CPP@|@CC@ -E| ; \ s|-D_GNU_SOURCE|| ; \ s| -g | |g ; \ /make -C/s|^|#| ; \ /whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/whiptail @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnewt.so post-install-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} ${MAKE_ARGS} \ datadir=${STAGEDIR}${PREFIX}/share ${INSTALL_TARGET}) post-install-PYTHON-on: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_snack.so post-install-TCL-on: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION} (cd ${WRKSRC} && ${INSTALL_LIB} whiptcl.so \ ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION}) (cd ${WRKDIR} && ${INSTALL_DATA} pkgIndex.tcl \ ${STAGEDIR}${PREFIX}/lib/whip${PORTVERSION}) .include diff --git a/devel/newt/pkg-plist b/devel/newt/pkg-plist index f722c969e1d3..35a05535ba6d 100644 --- a/devel/newt/pkg-plist +++ b/devel/newt/pkg-plist @@ -1,86 +1,86 @@ bin/whiptail include/newt.h lib/libnewt.a lib/libnewt.so -lib/libnewt.so.%%SOVERSION%% +lib/libnewt.so.0.%%SOVERSION%% lib/libnewt.so.%%VERSION%% %%PYTHON%%%%PYTHON_SITELIBDIR%%/_snack.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/snack.py %%TCL%%lib/whip%%VERSION%%/pkgIndex.tcl %%TCL%%lib/whip%%VERSION%%/whiptcl.so libdata/pkgconfig/libnewt.pc man/man1/whiptail.1.gz %%NLS%%share/locale/ar/LC_MESSAGES/newt.mo %%NLS%%share/locale/as/LC_MESSAGES/newt.mo %%NLS%%share/locale/ast/LC_MESSAGES/newt.mo %%NLS%%share/locale/bal/LC_MESSAGES/newt.mo %%NLS%%share/locale/bg/LC_MESSAGES/newt.mo %%NLS%%share/locale/bn/LC_MESSAGES/newt.mo %%NLS%%share/locale/bn_IN/LC_MESSAGES/newt.mo %%NLS%%share/locale/bs/LC_MESSAGES/newt.mo %%NLS%%share/locale/ca/LC_MESSAGES/newt.mo %%NLS%%share/locale/cs/LC_MESSAGES/newt.mo %%NLS%%share/locale/cy/LC_MESSAGES/newt.mo %%NLS%%share/locale/da/LC_MESSAGES/newt.mo %%NLS%%share/locale/de/LC_MESSAGES/newt.mo %%NLS%%share/locale/dz/LC_MESSAGES/newt.mo %%NLS%%share/locale/el/LC_MESSAGES/newt.mo %%NLS%%share/locale/eo/LC_MESSAGES/newt.mo %%NLS%%share/locale/es/LC_MESSAGES/newt.mo %%NLS%%share/locale/et/LC_MESSAGES/newt.mo %%NLS%%share/locale/eu/LC_MESSAGES/newt.mo %%NLS%%share/locale/fa/LC_MESSAGES/newt.mo %%NLS%%share/locale/fi/LC_MESSAGES/newt.mo %%NLS%%share/locale/fr/LC_MESSAGES/newt.mo %%NLS%%share/locale/ga/LC_MESSAGES/newt.mo %%NLS%%share/locale/gl/LC_MESSAGES/newt.mo %%NLS%%share/locale/gu/LC_MESSAGES/newt.mo %%NLS%%share/locale/he/LC_MESSAGES/newt.mo %%NLS%%share/locale/hi/LC_MESSAGES/newt.mo %%NLS%%share/locale/hr/LC_MESSAGES/newt.mo %%NLS%%share/locale/hu/LC_MESSAGES/newt.mo %%NLS%%share/locale/ia/LC_MESSAGES/newt.mo %%NLS%%share/locale/id/LC_MESSAGES/newt.mo %%NLS%%share/locale/it/LC_MESSAGES/newt.mo %%NLS%%share/locale/ja/LC_MESSAGES/newt.mo %%NLS%%share/locale/ka/LC_MESSAGES/newt.mo %%NLS%%share/locale/km/LC_MESSAGES/newt.mo %%NLS%%share/locale/kn/LC_MESSAGES/newt.mo %%NLS%%share/locale/ko/LC_MESSAGES/newt.mo %%NLS%%share/locale/ku/LC_MESSAGES/newt.mo %%NLS%%share/locale/lt/LC_MESSAGES/newt.mo %%NLS%%share/locale/lv/LC_MESSAGES/newt.mo %%NLS%%share/locale/mg/LC_MESSAGES/newt.mo %%NLS%%share/locale/mk/LC_MESSAGES/newt.mo %%NLS%%share/locale/ml/LC_MESSAGES/newt.mo %%NLS%%share/locale/mr/LC_MESSAGES/newt.mo %%NLS%%share/locale/ms/LC_MESSAGES/newt.mo %%NLS%%share/locale/nb/LC_MESSAGES/newt.mo %%NLS%%share/locale/nds/LC_MESSAGES/newt.mo %%NLS%%share/locale/ne/LC_MESSAGES/newt.mo %%NLS%%share/locale/nl/LC_MESSAGES/newt.mo %%NLS%%share/locale/nn/LC_MESSAGES/newt.mo %%NLS%%share/locale/pa/LC_MESSAGES/newt.mo %%NLS%%share/locale/pl/LC_MESSAGES/newt.mo %%NLS%%share/locale/pt/LC_MESSAGES/newt.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/newt.mo %%NLS%%share/locale/ro/LC_MESSAGES/newt.mo %%NLS%%share/locale/ru/LC_MESSAGES/newt.mo %%NLS%%share/locale/sk/LC_MESSAGES/newt.mo %%NLS%%share/locale/sl/LC_MESSAGES/newt.mo %%NLS%%share/locale/sq/LC_MESSAGES/newt.mo %%NLS%%share/locale/sr/LC_MESSAGES/newt.mo %%NLS%%share/locale/sr@latin/LC_MESSAGES/newt.mo %%NLS%%share/locale/sv/LC_MESSAGES/newt.mo %%NLS%%share/locale/ta/LC_MESSAGES/newt.mo %%NLS%%share/locale/te/LC_MESSAGES/newt.mo %%NLS%%share/locale/tg/LC_MESSAGES/newt.mo %%NLS%%share/locale/th/LC_MESSAGES/newt.mo %%NLS%%share/locale/tl/LC_MESSAGES/newt.mo %%NLS%%share/locale/tr/LC_MESSAGES/newt.mo %%NLS%%share/locale/uk/LC_MESSAGES/newt.mo %%NLS%%share/locale/vi/LC_MESSAGES/newt.mo %%NLS%%share/locale/wo/LC_MESSAGES/newt.mo %%NLS%%share/locale/xh/LC_MESSAGES/newt.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/newt.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/newt.mo