1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/yap/Makefile
Adam Weinberger 4eff544d54 Fix build by removing texlive from USE_TEX.
While here, just add install_docs to INSTALL_TARGET rather than
calling a separate ${MAKE} without MAKE_ENV or MAKE_ARGS.
2014-09-06 15:10:18 +00:00

41 lines
924 B
Makefile

# Created by: Danilo Egea Gondolfo <danilogondolfo@gmail.com>
# $FreeBSD$
PORTNAME= yap
PORTVERSION= 6.2.2
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
MAINTAINER= danilo@FreeBSD.org
COMMENT= High-performance Prolog compiler
PORTSCOUT= limit:^6\.2\.
CONFLICTS= yap-6.3.*
OPTIONS_DEFINE= DOCS
DOCS_USE= TEX=formats:build,dvipsk:build
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html \
${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
DOCS_INSTALL_TARGET= install install_docs
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-max-performance
USES= gmake
USE_GCC= any
DOCSDIR= ${PREFIX}/share/doc/Yap
DATADIR= ${PREFIX}/share/Yap
.include <bsd.port.options.mk>
post-build:
.if empty(PORT_OPTIONS:MDOCS)
# prevent the instalation of three docs files
${REINPLACE_CMD} -e '559,562d' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>