1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/lang/yap-devel/Makefile
2014-07-12 22:10:48 +00:00

59 lines
1.3 KiB
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= yap
PORTVERSION= 6.3.3
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
PKGNAMESUFFIX= -devel
MAINTAINER= danilo@FreeBSD.org
COMMENT= High-performance Prolog compiler
LICENSE= ART20 LGPL3
LICENSE_COMB= dual
CONFLICTS= yap-6.2.*
OPTIONS_DEFINE= DOCS MYDDAS
OPTIONS_SUB= yes
MYDDAS_DESC= Enable MySQL support
DOCS_USE= TEX=formats:build,dvipsk:build,texlive
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html \
${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level
STRIP= #none
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-max-performance --disable-clpbn-bp
USES= gmake
USE_GCC= any
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= | ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} -xf -
DOCSDIR= ${PREFIX}/share/doc/Yap
DATADIR= ${PREFIX}/share/Yap
.include <bsd.port.options.mk>
post-build:
.if empty(PORT_OPTIONS:MDOCS)
# prevent the installation of docs files
${REINPLACE_CMD} -e '758,761d' ${WRKSRC}/Makefile
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC} ; ${MAKE} DESTDIR=${STAGEDIR} install_docs)
.endif
.include <bsd.port.mk>