summaryrefslogtreecommitdiffstats
path: root/lang/yap/Makefile
blob: 93aca17ce0c5bd1fd5cf5b9a09483057ee096505 (plain)
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
# ex:ts=8
# New ports collection makefile for:	yap
# Date created:			Apr 29, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	yap
PORTVERSION=	4.4.4
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	Yap-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A high-performance Prolog compiler

LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

INFO=		yap

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=		"Does not compile on alpha"
.endif

post-extract:
	@${RM} -f ${WRKSRC}/docs/*.info*

post-build:
	cd ${WRKSRC}/docs && makeinfo --no-split yap.tex

pre-install:
	${INSTALL_DATA} ${WRKSRC}/docs/yap.info ${PREFIX}/info
	install-info ${PREFIX}/info/yap.info ${PREFIX}/info/dir

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud