2001-08-18 08:42:17 +00:00
|
|
|
# New ports collection makefile for: xsb
|
|
|
|
# Date created: 29 Jul 2001
|
|
|
|
# Whom: Christopher Rued
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XSB
|
2004-02-01 17:50:56 +00:00
|
|
|
PORTVERSION= 2.6
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2001-08-18 08:42:17 +00:00
|
|
|
CATEGORIES= lang
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}
|
2002-06-20 19:53:10 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
|
2001-08-18 08:42:17 +00:00
|
|
|
|
|
|
|
MAINTAINER= c.rued@xsb.com
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= A tabled Logic Programming and Deductive Database system
|
2001-08-18 08:42:17 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
|
2004-02-11 20:03:35 +00:00
|
|
|
|
2001-08-18 08:42:17 +00:00
|
|
|
WRKSRC= ${WRKDIR}/XSB/build
|
2001-08-23 16:07:34 +00:00
|
|
|
USE_GMAKE= yes
|
2001-08-18 08:42:17 +00:00
|
|
|
|
2002-06-20 19:53:10 +00:00
|
|
|
MAN1= xsb.1
|
|
|
|
|
2005-04-12 03:26:56 +00:00
|
|
|
PLIST_SUB+= MACHINE_ARCH=${MACHINE_ARCH} \
|
2002-06-20 19:53:10 +00:00
|
|
|
OPSYS=${OPSYS:S/BSD/bsd/g:S/F/f/g:S/O/o/g:S/N/n/g}
|
|
|
|
|
2004-03-29 06:48:52 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-09-23 09:17:59 +00:00
|
|
|
.if ${OSVERSION} >= 700042 && ${OSVERSION} < 800000
|
|
|
|
BROKEN= Does not compile on FreeBSD 7.x
|
2007-10-01 09:52:51 +00:00
|
|
|
.endif
|
|
|
|
|
2005-04-10 21:14:31 +00:00
|
|
|
.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
|
|
|
|
BROKEN= "Does not compile on !i386 and !sparc64"
|
2004-03-29 06:48:52 +00:00
|
|
|
.endif
|
|
|
|
|
2001-08-18 08:42:17 +00:00
|
|
|
do-build:
|
|
|
|
@ cd ${WRKSRC} ; \
|
2004-02-01 17:50:56 +00:00
|
|
|
./configure ; \
|
|
|
|
./makexsb ; \
|
|
|
|
./makexsb dynmodule
|
2001-08-18 08:42:17 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${CP} -r ${WRKDIR}/XSB ${PREFIX} ; \
|
2002-06-20 19:53:10 +00:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/XSB/docs/userman/xsb.1 ${MAN1PREFIX}/man/man1 ; \
|
2001-08-18 08:42:17 +00:00
|
|
|
${LN} -s ${PREFIX}/XSB/docs ${PREFIX}/share/xsb ; \
|
2002-06-20 19:53:10 +00: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 08:42:17 +00:00
|
|
|
|
2004-03-29 06:48:52 +00:00
|
|
|
.include <bsd.port.post.mk>
|