aboutsummaryrefslogtreecommitdiff
path: root/textproc/xenv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xenv/Makefile')
-rw-r--r--textproc/xenv/Makefile12
1 files changed, 3 insertions, 9 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}