aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-08-30 15:51:26 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-08-30 15:51:26 +0000
commit696076d06f94ba788c60c6a0d40918d545583c77 (patch)
treef588ecf824c6893329428c840ae41af665d3ee67
parentf7e91a709b10e7b46bca8377c9c78f121b9797f2 (diff)
downloadports-696076d06f94ba788c60c6a0d40918d545583c77.tar.gz
ports-696076d06f94ba788c60c6a0d40918d545583c77.zip
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
-rw-r--r--textproc/xenv/Makefile12
-rw-r--r--textproc/xenv/distinfo6
2 files changed, 6 insertions, 12 deletions
diff --git a/textproc/xenv/Makefile b/textproc/xenv/Makefile
index 385ff24576dc..688ff2f87e00 100644
--- a/textproc/xenv/Makefile
+++ b/textproc/xenv/Makefile
@@ -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}
diff --git a/textproc/xenv/distinfo b/textproc/xenv/distinfo
index a7ecb9a88b5d..88f2ded7a36a 100644
--- a/textproc/xenv/distinfo
+++ b/textproc/xenv/distinfo
@@ -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