aboutsummaryrefslogtreecommitdiffstats
path: root/lang/oorexx/Makefile
blob: 854f1a7e498793707f351c00c7fdc7171f47505e (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
# New ports collection makefile for:    ooRexx
# Date created:             04 Jun 2005
# Whom:                 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

.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>