textproc/xenv: the port had been updated to version 4.0

Requires GNU configure now; drop no longer useful knobs
and `post-patch' target.

Requested by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2022-08-30 15:51:26 +00:00
parent f7e91a709b
commit 696076d06f
2 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= xenv
PORTVERSION= 3.2
PORTVERSION= 4.0
CATEGORIES= textproc
MASTER_SITES= https://download.gnu.org.ua/release/xenv/
@ -8,21 +8,15 @@ COMMENT= Text preprocessor for environment variable expansion
LICENSE= GPLv3+
USES= makeinfo
MAKE_ARGS= CFLAGS="${CFLAGS} -Wall"
ALL_TARGET= ${PORTNAME}
GNU_CONFIGURE= yes
TEST_TARGET= check
PLIST_FILES= bin/xenv share/man/man1/xenv.1.gz
PLIST_FILES= bin/xenv man/man1/xenv.1.gz
PORTDOCS= NEWS README
INFO= ${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^%{/ { x; s/^/#include <signal.h>/; \
H; x; }' ${WRKSRC}/xenv.l
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1660376518
SHA256 (xenv-3.2.tar.gz) = 5c2290dfe567bbe609f68597608012126a1f43e5ea6c5386d94ccdb0b2c23072
SIZE (xenv-3.2.tar.gz) = 134038
TIMESTAMP = 1661433912
SHA256 (xenv-4.0.tar.gz) = b51c71bd9003ee6b9f508ef911d6ceb9eb44411ebf03a97be47d0260f8c5dcab
SIZE (xenv-4.0.tar.gz) = 356071