Skip to content

Commit

Permalink
textproc/xenv: the port had been updated to version 4.0
Browse files Browse the repository at this point in the history
Requires GNU configure now; drop no longer useful knobs
and `post-patch' target.

Requested by:	maintainer
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Aug 30, 2022
1 parent f7e91a7 commit 696076d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 3 additions & 9 deletions 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/

Expand All @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 696076d

Please sign in to comment.