blob: b81572d62abfdca24cc570ccfb311c12d56b45c4 (
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
|
# Created by: mr
PORTNAME= m4
PORTVERSION= 1.4.19
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= GNU M4
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe iconv makeinfo tar:xz
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"
GNU_CONFIGURE= yes
EXAMPLESDIR= ${PREFIX}/share/examples/gm4
INFO= m4
CPE_VENDOR= gnu
OPTIONS_DEFINE= EXAMPLES LIBSIGSEGV NLS
OPTIONS_SUB= yes
LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv)
LIBSIGSEGV_CONFIGURE_WITH= libsigsegv-prefix=${LOCALBASE}
LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/^* M4: / s|M4|G&|' ${WRKSRC}/doc/m4.texi
@${REINPLACE_CMD} -e '/^install-exec-am: / s| .*||' ${WRKSRC}/lib/Makefile.in
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
|