aboutsummaryrefslogtreecommitdiffstats
path: root/lang/oorexx/Makefile
blob: 236dd1919a3986686e4d420d1e99dc41da7ca54d (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
# Created by: Micho
# $FreeBSD$

PORTNAME=   oorexx
PORTVERSION=    3.0.0
CATEGORIES= lang
MASTER_SITES=   http://www.matem.unam.mx/~micho/download/

MAINTAINER= micho@matem.unam.mx
COMMENT=    A powerful typeless object-oriented scripting language

CONFLICTS=  rexx-imc-[0-9]* rexx-regina-[0-9]*

USE_LDCONFIG=   yes
MAKE_ENV=   EXAMPLESDIR="${EXAMPLESDIR}"
MAN1=       rexx.1 rexxc.1 rxmigrate.1 rxsubcom.1 rxqueue.1

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=     Does not compile on !i386
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|; \
        s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's|/usr/local/oorexx|${PREFIX}/lib/oorexx|' \
        ${WRKSRC}/rxtests/README

.include <bsd.port.post.mk>