openbsd-ports/lang/gprolog/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2006/02/16 20:56:58 naddy Exp $
2004-10-07 14:30:26 -04:00
BROKEN= "does not handle randomized mmap()"
ONLY_FOR_ARCHS= i386
COMMENT= Prolog compiler
DISTNAME= gprolog-1.2.16
PKGNAME= ${DISTNAME}p0
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
MASTER_SITES= ${MASTER_SITE_GNU:=gprolog/}
AUTOCONF_VERSION= 2.52
CONFIGURE_STYLE= autoconf dest no-autoheader
CONFIGURE_ARGS+= --with-install-dir='$${DESTDIR}${PREFIX}/libdata/gprolog' \
--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
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; \
done
.include <bsd.port.mk>