blob: a46260747a8dd3c1b7fade5562aa123fa3e8eed7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
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>
|