mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
a574054750
PR: ports/85881 Submitted by: Ports Fury
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: yap
|
|
# Date created: Apr 29, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yap
|
|
PORTVERSION= 5.0.0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.ncc.up.pt/~vsc/Yap/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= Yap-${PORTVERSION:R}
|
|
DISTNAME= Yap-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A high-performance Prolog compiler
|
|
|
|
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_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-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|@value{VERSION}|${PORTVERSION}|g' ${WRKSRC}/docs/yap.tex
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/docs && makeinfo --no-split yap.tex
|
|
|
|
pre-install:
|
|
@${MKDIR} ${PREFIX}/${INFO_PATH}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/yap.info ${PREFIX}/${INFO_PATH}
|
|
|
|
.include <bsd.port.post.mk>
|