devel/cdialog: update to 1.3-20221229

- fix MASTER_SITES as advised by upstream
 - wire up TEST_TARGET
 - bracket regex in REINPLACE_CMD to avoid replacing unrelated variables

Changelog: https://invisible-island.net/dialog/CHANGES

PR:		267777
Reported by:	Philipp Engel <kidon@posteo.de>
Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38637
This commit is contained in:
Josmar 2023-02-15 14:46:39 +01:00 committed by Robert Clausecker
parent 31b0c7cc1e
commit 346b5384e0
2 changed files with 7 additions and 6 deletions

View file

@ -1,8 +1,8 @@
PORTNAME= cdialog
DISTVERSION= 1.3-20220728
DISTVERSION= 1.3-20221229
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.invisible-island.net/pub/${PORTNAME:S|^c||}/\
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}
@ -24,10 +24,11 @@ CONFIGURE_ARGS= --enable-widec \
--with-curses-dir=${NCURSESBASE}
MAKEFILE= makefile
INSTALL_TARGET= install-strip install-man install-lib
TEST_TARGET= check
OPTIONS_DEFINE= EXAMPLES
pre-patch-EXAMPLES-on:
@${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \;
@${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|\<dialog\>|cdialog|g" {} \;
pre-install:
@${STRIP_CMD} ${WRKSRC}/.libs/libcdialog.so.15.0.0

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1662918811
SHA256 (dialog-1.3-20220728.tgz) = 54418973d559a461b00695fafe68df62f2bc73d506b436821d77ca3df454190b
SIZE (dialog-1.3-20220728.tgz) = 568086
TIMESTAMP = 1672491666
SHA256 (dialog-1.3-20221229.tgz) = d5663d016003e5260fa485f5e9c2ddffb386508f3bd0687d4fa3635ea9942b8e
SIZE (dialog-1.3-20221229.tgz) = 567965