2006-02-16 15:56:58 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2006/02/16 20:56:58 naddy Exp $
|
2004-10-07 14:30:26 -04:00
|
|
|
|
2006-02-16 15:56:58 -05:00
|
|
|
BROKEN= "does not handle randomized mmap()"
|
2005-07-02 01:46:25 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2004-09-26 10:48:29 -04:00
|
|
|
|
|
|
|
COMMENT= Prolog compiler
|
|
|
|
|
|
|
|
DISTNAME= gprolog-1.2.16
|
2005-07-02 01:46:25 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-09-26 10:48:29 -04:00
|
|
|
CATEGORIES= lang
|
|
|
|
|
|
|
|
HOMEPAGE= http://gprolog.inria.fr/
|
|
|
|
|
|
|
|
MAINTAINER= Nuno Morgadinho <nmorgadinho@openbsd-pt.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-24 08:20:41 -05:00
|
|
|
WANTLIB= c m
|
2004-09-26 10:48:29 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gprolog/}
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.52
|
|
|
|
CONFIGURE_STYLE= autoconf dest no-autoheader
|
|
|
|
|
|
|
|
|
2004-09-26 11:21:13 -04:00
|
|
|
CONFIGURE_ARGS+= --with-install-dir='$${DESTDIR}${PREFIX}/libdata/gprolog' \
|
2004-09-26 10:48:29 -04:00
|
|
|
--without-links-dir \
|
|
|
|
--disable-ebp \
|
|
|
|
--disable-piped-consult \
|
|
|
|
--disable-gui-console \
|
|
|
|
--with-examples-dir='$${DESTDIR}${PREFIX}/share/examples/gprolog' \
|
|
|
|
--with-html-dir='$${DESTDIR}${PREFIX}/share/doc/gprolog/html' \
|
|
|
|
--with-doc-dir='$${DESTDIR}${PREFIX}/share/doc/gprolog'
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2004-09-26 11:21:13 -04:00
|
|
|
post-install:
|
|
|
|
for i in gplc hexgplc gprolog pl2wam wam2ma ma2asm fd2c; do \
|
2004-09-26 11:32:27 -04:00
|
|
|
ln -sf ${TRUEPREFIX}/libdata/gprolog/bin/$$i ${PREFIX}/bin/$$i; \
|
2004-09-26 11:21:13 -04:00
|
|
|
done
|
|
|
|
|
2004-09-26 10:48:29 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|