freebsd-ports/devel/envsubst/Makefile
Mark Linimon 5cc8be5f6c devel/envsubst: add USE_CSTD=c99 to fix build on GCC-based systems:
envsubst.c:47: error: 'for' loop initial declaration used outside C99 mode
2021-04-16 06:15:38 -05:00

23 lines
475 B
Makefile

PORTNAME= envsubst
PORTVERSION= 0.1
CATEGORIES= devel
MASTER_SITES= https://distfiles.dereferenced.org/envsubst/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Perform variable substitutions on input
LICENSE= ISCL
USES= tar:xz
USE_CSTD= c99
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/isc-${PORTNAME}
post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/isc-${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/isc-${PORTNAME}
.include <bsd.port.mk>