freebsd-ports/devel/m4/Makefile
Adam Weinberger 88a055c8b1 Add missing EXAMPLES and DOCS to a couple ports that
already honour PORTDOCS and PORTEXAMPLES in the plist.
2014-07-15 20:00:43 +00:00

34 lines
807 B
Makefile

# Created by: mr
# $FreeBSD$
PORTNAME= m4
PORTVERSION= 1.4.17
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= GNU m4
USES= makeinfo tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INFO= m4
EXAMPLESDIR= share/examples/gm4
OPTIONS_DEFINE= LIBSIGSEGV EXAMPLES
LIBSIGSEGV_DESC= Use alternative page fault handler (GNU libsigsegv)
LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
LIBSIGSEGV_CONFIGURE_ON= --with-libsigsegv-prefix=${LOCALBASE}
LIBSIGSEGV_CONFIGURE_OFF= --without-libsigsegv-prefix
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 \
${STAGEDIR}${PREFIX}/${EXAMPLESDIR}
.include <bsd.port.mk>