2001-08-18 10:42:17 +02:00
|
|
|
# New ports collection makefile for: xsb
|
|
|
|
# Date created: 29 Jul 2001
|
|
|
|
# Whom: Christopher Rued
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XSB
|
2004-02-01 18:50:56 +01:00
|
|
|
PORTVERSION= 2.6
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2001-08-18 10:42:17 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-06-20 21:53:10 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
|
2001-08-18 10:42:17 +02:00
|
|
|
|
|
|
|
MAINTAINER= c.rued@xsb.com
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= A tabled Logic Programming and Deductive Database system
|
2001-08-18 10:42:17 +02:00
|
|
|
|
2004-08-19 03:40:22 +02:00
|
|
|
BUILD_DEPENDS= makedepend:${X_IMAKE_PORT}
|
2004-02-11 21:03:35 +01:00
|
|
|
|
2001-08-18 10:42:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/XSB/build
|
2001-08-23 18:07:34 +02:00
|
|
|
USE_GMAKE= yes
|
2001-08-18 10:42:17 +02:00
|
|
|
|
2002-06-20 21:53:10 +02:00
|
|
|
MAN1= xsb.1
|
|
|
|
|
2005-04-12 05:26:56 +02:00
|
|
|
PLIST_SUB+= MACHINE_ARCH=${MACHINE_ARCH} \
|
2002-06-20 21:53:10 +02:00
|
|
|
OPSYS=${OPSYS:S/BSD/bsd/g:S/F/f/g:S/O/o/g:S/N/n/g}
|
|
|
|
|
2004-03-29 08:48:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-10 23:14:31 +02:00
|
|
|
.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
|
|
|
|
BROKEN= "Does not compile on !i386 and !sparc64"
|
2004-03-29 08:48:52 +02:00
|
|
|
.endif
|
|
|
|
|
2001-08-18 10:42:17 +02:00
|
|
|
do-build:
|
|
|
|
@ cd ${WRKSRC} ; \
|
2004-02-01 18:50:56 +01:00
|
|
|
./configure ; \
|
|
|
|
./makexsb ; \
|
|
|
|
./makexsb dynmodule
|
2001-08-18 10:42:17 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${CP} -r ${WRKDIR}/XSB ${PREFIX} ; \
|
2002-06-20 21:53:10 +02:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/XSB/docs/userman/xsb.1 ${MAN1PREFIX}/man/man1 ; \
|
2001-08-18 10:42:17 +02:00
|
|
|
${LN} -s ${PREFIX}/XSB/docs ${PREFIX}/share/xsb ; \
|
2002-06-20 21:53:10 +02:00
|
|
|
${ECHO_CMD} XSB is now installed. ; \
|
|
|
|
${ECHO_CMD} To run it, execute ${PREFIX}/XSB/bin/xsb ; \
|
|
|
|
${ECHO_CMD} The user manual is in ${PREFIX}/share/xsb
|
2001-08-18 10:42:17 +02:00
|
|
|
|
2004-03-29 08:48:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|