aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swi-pl/Makefile
blob: 5add6544bcf4b731a2f00af0dfd58a97996c17bc (plain) (blame)
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
33
34
35
36
37
38
39
40
# New ports collection makefile for: SWI-Prolog
# Version required:     2.7.14
# Date created:         10 August 1996
# Whom:             Michael Butschky <butsch@computi.erols.com>
#
# $Id: Makefile,v 1.25 1996/08/10 00:12:11 butsch@computi.erols.com Exp $              
#

DISTNAME=   pl-2.7.14
PKGNAME=    swi-pl-2.7.14
CATEGORIES+=    lang
MASTER_SITES=   ftp://swi.psy.uva.nl/pub/SWI-Prolog/

MAINTAINER= max@FreeBSD.ORG

WRKSRC=     ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE=  yes

CONFIGURE_ARGS= i386-freebsd
STRIP=
MAKE_FLAGS+=    CIFLAGS=-DRTLD_LAZY -f
NO_CDROM=   "No commercial use."

# Below is for broken configure script that comes with the original
# distribution.  This, and patches/patch-00 will be removed as soon as
# the original files are corrected.
pre-configure:
    @${CP} ${FILESDIR}/configure ${WRKSRC}

post-install:
.for f in pl pl-bite chpl
    @strip ${PREFIX}/lib/${DISTNAME}/bin/i386-freebsd/$f
.endfor
.if !defined(NOMANCOMPRESS)
.for f in pl.1 chpl.1 plld.1
    gzip -9nf ${PREFIX}/man/man1/$f
.endfor
.endif

.include <bsd.port.mk>