1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/textproc/gsed/Makefile
Alexey Dokuchaev 8f95b0026f textproc/gsed: update GNU stream editor to version 4.9
Reported by:	portscout
2022-11-16 10:15:26 +00:00

49 lines
1.2 KiB
Makefile

PORTNAME= sed
PORTVERSION= 4.9
CATEGORIES= textproc
MASTER_SITES= GNU
PKGNAMEPREFIX= g
MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU stream editor
WWW= https://www.gnu.org/software/sed/sed.html
LICENSE= GPLv3+ GFDL
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
USES= charsetfix cpe makeinfo tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV+= MAKEINFO="${MAKEINFO} --no-split"
TEST_TARGET= check
CPE_VENDOR= gnu
DATADIR= ${PREFIX}/share/${PKGBASE}
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
INFO= sed
PORTDOCS= AUTHORS BUGS ChangeLog ChangeLog-2014 NEWS README THANKS
PORTEXAMPLES= binary*.sed dc.sed
OPTIONS_DEFINE= NLS DOCS EXAMPLES
OPTIONS_SUB= yes
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} 's,^\* sed:,* GNU sed:,' \
${WRKSRC}/doc/config.texi
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/testsuite/,} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>