=> 1.3-20251223, improve port Changelog: https://invisible-island.net/dialog/CHANGES.html#index-t20251223 - Divide PORTNAME into PKGNAMEPREFIX and PORTNAME. - Remove unnecessary GNU_CONFIGURE_MANPREFIX. - Use STAGEDIR for STRIP_CMD instead of WRKSRC and use symlink - won't need to change this line after SONAME bump. - Sort pkg-plist. PR: 291689 Co-authored-by: Vladimir Druzenko --- devel/cdialog/Makefile | 22 +++++++++++----------- devel/cdialog/distinfo | 6 +++--- devel/cdialog/pkg-plist | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/devel/cdialog/Makefile b/devel/cdialog/Makefile index a998261a1f97..3522752c4a3e 100644 --- a/devel/cdialog/Makefile +++ b/devel/cdialog/Makefile @@ -1,10 +1,10 @@ -PORTNAME= cdialog -DISTVERSION= 1.3-20240619 +PORTNAME= dialog +DISTVERSION= 1.3-20251223 PORTEPOCH= 2 CATEGORIES= devel -MASTER_SITES= https://invisible-island.net/archives/${PORTNAME:S|^c||}/\ - https://invisible-mirror.net/archives/${PORTNAME:S|^c||}/ -DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E} +MASTER_SITES= https://invisible-island.net/archives/${PORTNAME}/ \ + https://invisible-mirror.net/archives/${PORTNAME}/ +PKGNAMEPREFIX= c MAINTAINER= jcpierri@gmail.com COMMENT= Enhanced version of 'dialog' to work with ncurses @@ -16,12 +16,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool:build ncurses tar:tgz USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-widec \ - --includedir=${PREFIX}/include/${PORTNAME} \ + --includedir=${PREFIX}/include/${PKGNAMEPREFIX}${PORTNAME} \ --with-libtool \ --with-${NCURSES_IMPL} \ - --with-package=${PORTNAME}\ + --with-package=${PKGNAMEPREFIX}${PORTNAME}\ --with-curses-dir=${NCURSESBASE} MAKEFILE= makefile INSTALL_TARGET= install-strip install-man install-lib @@ -29,10 +28,11 @@ TEST_TARGET= check OPTIONS_DEFINE= EXAMPLES pre-patch-EXAMPLES-on: - @${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|\|cdialog|g" {} \; + @${FIND} ${WRKSRC}/samples/ -type f -exec \ + ${REINPLACE_CMD} -i "" "s|\|${PKGNAMEPREFIX}${PORTNAME}|g" {} \; -pre-install: - @${STRIP_CMD} ${WRKSRC}/.libs/libcdialog.so.15.0.0 +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcdialog.so post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} diff --git a/devel/cdialog/distinfo b/devel/cdialog/distinfo index dd0602bfbcba..8786ce3db40a 100644 --- a/devel/cdialog/distinfo +++ b/devel/cdialog/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1727464826 -SHA256 (dialog-1.3-20240619.tgz) = 5d8c4318963db3fd383525340276e0e05ee3dea9a6686c20779f5433b199547d -SIZE (dialog-1.3-20240619.tgz) = 571167 +TIMESTAMP = 1767612109 +SHA256 (dialog-1.3-20251223.tgz) = ada64c1593f995762354dda94e43a18b1fbe92fcd6bc8abddb47d4da46638fd1 +SIZE (dialog-1.3-20251223.tgz) = 583361 diff --git a/devel/cdialog/pkg-plist b/devel/cdialog/pkg-plist index c75117e61812..07e330b5969a 100644 --- a/devel/cdialog/pkg-plist +++ b/devel/cdialog/pkg-plist @@ -8,8 +8,6 @@ lib/libcdialog.a lib/libcdialog.so lib/libcdialog.so.15 lib/libcdialog.so.15.0.0 -share/man/man1/cdialog.1.gz -share/man/man3/cdialog.3.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/buildlist %%PORTEXAMPLES%%%%EXAMPLESDIR%%/buildlist2 @@ -213,3 +211,5 @@ share/man/man3/cdialog.3.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yesno2 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yesno3 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yesno4 +share/man/man1/cdialog.1.gz +share/man/man3/cdialog.3.gz