2001-04-29 14:43:09 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: yap
|
|
|
|
# Date created: Apr 29, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= yap
|
2006-01-20 16:40:13 +00:00
|
|
|
PORTVERSION= 5.0.1
|
2006-05-10 14:46:47 +00:00
|
|
|
PORTREVISION= 1
|
2001-04-29 14:43:09 +00:00
|
|
|
CATEGORIES= lang
|
2005-09-09 18:30:48 +00:00
|
|
|
MASTER_SITES= http://www.ncc.up.pt/~vsc/Yap/%SUBDIR%/
|
2006-01-20 16:40:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= Yap-${PORTVERSION}
|
2001-04-29 14:43:09 +00:00
|
|
|
DISTNAME= Yap-${PORTVERSION}
|
|
|
|
|
2001-07-18 16:57:23 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A high-performance Prolog compiler
|
2001-04-29 14:43:09 +00:00
|
|
|
|
2006-05-10 14:46:47 +00:00
|
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
2001-04-29 14:43:09 +00:00
|
|
|
|
2002-06-02 06:15:52 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-11-06 21:03:44 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-06-02 06:15:52 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-04-29 14:43:09 +00:00
|
|
|
|
2003-11-06 21:03:44 +00:00
|
|
|
INFO= yap
|
|
|
|
|
2004-02-23 05:10:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-11-06 21:03:44 +00:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/docs/*.info*
|
|
|
|
|
2005-09-09 18:30:48 +00:00
|
|
|
post-patch:
|
2006-01-20 16:40:13 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|VERSION}|VERSION:}|g' ${WRKSRC}/docs/yap.tex
|
2005-09-09 18:30:48 +00:00
|
|
|
|
2003-11-06 21:03:44 +00:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/docs && makeinfo --no-split yap.tex
|
|
|
|
|
2004-04-14 03:33:40 +00:00
|
|
|
pre-install:
|
2005-07-20 10:13:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${INFO_PATH}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/yap.info ${PREFIX}/${INFO_PATH}
|
2003-11-06 21:03:44 +00:00
|
|
|
|
2004-02-23 05:10:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|