mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
f2fc2d60ae
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
44 lines
867 B
Makefile
44 lines
867 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: yap
|
|
# Date created: Apr 29, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yap
|
|
PORTVERSION= 4.5.5
|
|
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_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
INFO= yap
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != "i386"
|
|
BROKEN= "Does not compile on !i386"
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|