2008-02-22 16:09:03 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2008/02/22 21:09:04 naddy Exp $
|
2006-10-09 06:20:24 -04:00
|
|
|
|
|
|
|
CATEGORIES= lang
|
2007-01-27 12:35:46 -05:00
|
|
|
V= 5.6.27
|
|
|
|
XV= 6.6.27
|
2007-07-10 16:53:59 -04:00
|
|
|
FULLARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV}
|
2007-01-27 12:35:46 -05:00
|
|
|
SUBST_VARS= V XV FULLARCH
|
2006-10-09 06:20:24 -04:00
|
|
|
DISTNAME= pl-$V
|
2008-02-22 16:09:03 -05:00
|
|
|
PKGNAME= swi-prolog-$Vp4
|
2006-10-09 06:20:24 -04:00
|
|
|
MASTER_SITES= http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
|
2007-07-27 18:01:38 -04:00
|
|
|
COMMENT= Prolog for the real world
|
2006-10-09 06:20:24 -04:00
|
|
|
HOMEPAGE= http://www.swi-prolog.org/
|
|
|
|
|
|
|
|
SHARED_LIBS= pl 0.0
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.59
|
2007-07-10 16:53:59 -04:00
|
|
|
AUTOCONF_DIR= ${WRKSRC}/src ${WRKSRC}/packages/semweb
|
2007-06-10 19:32:27 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/src \
|
|
|
|
${WRKSRC}/packages/jpl \
|
|
|
|
${WRKSRC}/packages/xpce/src
|
2006-10-09 06:20:24 -04:00
|
|
|
CONFIGURE_ARGS= --enable-mt \
|
|
|
|
--disable-custom-flags \
|
|
|
|
--with-world \
|
|
|
|
--disable-gmp \
|
|
|
|
--with-jpeg=${LOCALBASE} \
|
2007-01-27 12:35:46 -05:00
|
|
|
--without-sgml \
|
2006-10-09 06:20:24 -04:00
|
|
|
${CONFIGURE_SHARED}
|
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2006-10-09 06:20:24 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
MAKE_FLAGS= SONAMEOPT= \
|
2007-01-27 12:35:46 -05:00
|
|
|
SHAREDV=libpl.so.${LIBpl_VERSION}
|
2006-10-09 06:20:24 -04:00
|
|
|
|
|
|
|
WANTLIB= ICE Xrender readline SM freetype Xt pthread \
|
2007-11-14 04:43:39 -05:00
|
|
|
c Xinerama Xft Xpm m fontconfig X11 ncurses z \
|
|
|
|
Xau Xdmcp expat
|
2006-10-09 06:20:24 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg::graphics/jpeg
|
2006-10-18 13:56:14 -04:00
|
|
|
SUBST_VARS+= BOOT
|
2006-10-09 06:20:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2006-10-18 13:56:14 -04:00
|
|
|
|
|
|
|
.for _m in ${MACHINE_ARCH}
|
|
|
|
. if !empty(LP64_ARCHS:M${_m})
|
|
|
|
BOOT=boot64
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
BOOT?=boot32
|