aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pfe/Makefile
blob: c67c6fd8a71ec4050ee2f2202dce1e699a424af9 (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
# New ports collection makefile for:    pfe-devel
# Date created:         29 October 2000
# Whom:                 patrick
#
# $FreeBSD$
#

PORTNAME=   pfe
PORTVERSION=    0.33.70
CATEGORIES= lang
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Implementation of ANSI Forth

LATEST_LINK=    pfe-devel

USE_BZIP2=  yes
USE_PERL5_BUILD=yes
USE_GCC=    4.2+
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
LIBTOOLFILES=   pfe/configure
MAKE_ARGS=  pkgconfigdir="${PREFIX}/libdata/pkgconfig"

MAN1=       pfe.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386" && ${OSVERSION} < 700000
CFLAGS+=    -fno-builtin-strcat -fno-builtin-strlen
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
         s|-O$$opt_level||g' ${WRKSRC}/pfe/configure

.include <bsd.port.post.mk>