mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
7b3e74add8
- add NOPRECIOUSMAKEVARS to avoid changing ARCH - fix build and unbreak this port on 5.x - not to STRIP scripts PR: (based on) 71982 Submitted by: leeym Approved by: maintainer timeout
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: SWI-Prolog
|
|
# Date created: 10 August 1996
|
|
# Whom: Michael Butschky <butsch@computi.erols.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swi-pl
|
|
PORTVERSION= 5.2.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.swi.psy.uva.nl/pub/SWI-Prolog/
|
|
DISTNAME= pl-${PORTVERSION}
|
|
|
|
MAINTAINER= max@FreeBSD.org
|
|
COMMENT= Edinburgh-style Prolog compiler
|
|
|
|
CONFLICTS= ploticus-[0-9]* slffea-[0-9]* TenDRA-[0-9]*
|
|
NOPRECIOUSMAKEVARS=yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --host=${MACHINE_ARCH}-${OPSYS:L} --disable-mt
|
|
MAN1= pl.1 plrc.1 plld.1
|
|
PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if (${ARCH} == "i386")
|
|
PLIST_SUB+= BITS=32
|
|
.else
|
|
PLIST_SUB+= BITS=64
|
|
.endif
|
|
|
|
.if (${ARCH} == "alpha")
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-configure
|
|
.endif
|
|
|
|
.if ${ARCH} != "i386"
|
|
BROKEN= "Broken pkg-plist"
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/edit/s/INSTALL_PROGRAM/BSD_INSTALL_SCRIPT/g' \
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|