summaryrefslogtreecommitdiff
path: root/lang/gprolog/Makefile
blob: 978f01e1ece80813fa1edd0ce90f6c14cf9b2965 (plain)
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
# $NetBSD: Makefile,v 1.23 2021/10/03 07:13:15 nia Exp $

DISTNAME=		gprolog-1.4.5
CATEGORIES=		lang
MASTER_SITES=		${HOMEPAGE}
MASTER_SITES+=		http://gprolog.univ-paris1.fr/

MAINTAINER=		brook@nmsu.edu
HOMEPAGE=		http://www.gprolog.org/
COMMENT=		GNU prolog compiler and interpreter
LICENSE=		gnu-lgpl-v3 OR gnu-gpl-v2

GNU_CONFIGURE=		yes
CONFIGURE_DIRS=		src
CONFIGURE_ARGS+=	--with-install-dir=${PREFIX}/lib/${PKGNAME_NOREV} \
			--with-doc-dir=${PREFIX}/share/doc/gprolog \
			--with-html-dir=${PREFIX}/share/doc/gprolog/html \
			--with-examples-dir=${PREFIX}/share/examples/gprolog \
			--with-c-flags=${CFLAGS:Q}

# Apparently build failures hang forever if multiple MAKE_JOBS are in use.
# MAKE_JOBS_SAFE= 	no
# but try to remove above (mef)

# On NetBSD/i386:
# pl2wam: text relocations
# pl2wam: Cannot write-enable text segment: Permission denied
MKPIE_SUPPORTED=	no

TEST_TARGET=	check

.include "../../mk/bsd.pkg.mk"