summaryrefslogtreecommitdiff
path: root/lang/xsb/Makefile
blob: ec89993e498441b07b32c43f458fec58d1b53f22 (plain) (blame)
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
# New ports collection makefile for:	xsb
# Date created:		29 Jul 2001
# Whom:			Christopher Rued
#
# $FreeBSD$
#

PORTNAME=	XSB
PORTVERSION=	2.4
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xsb

MAINTAINER=	c.rued@xsb.com

WRKSRC=		${WRKDIR}/XSB/build

PLIST_SUB+=     MACHINE_ARCH=${MACHINE_ARCH} OPSYS=${OPSYS:S/BSD/bsd/g:S/F/f/g:S/O/o/g:S/N/n/g}
USE_GMAKE=	yes

do-build:
	@ cd ${WRKSRC} ; \
	./configure  ; \
	./makexsb

do-install:
	@ ${CP} -r ${WRKDIR}/XSB ${PREFIX} ; \
	${LN} -s ${PREFIX}/XSB/docs ${PREFIX}/share/xsb ; \
	${ECHO} XSB is now installed. ; \
	${ECHO} To run it, execute ${PREFIX}/XSB/bin/xsb ; \
	${ECHO} The user manual is in ${PREFIX}/share/xsb

.include <bsd.port.mk>