summaryrefslogtreecommitdiff
path: root/lang/oorexx/Makefile
blob: b3abc0e8d5efdd8baf814d00e4d65472e4aaee63 (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
# 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_REINPLACE=	yes
INSTALLS_SHLIB=	yes
MAKE_ENV=	EXAMPLESDIR="${EXAMPLESDIR}"
MAN1=		rexx.1 rexxc.1 rxmigrate.1 rxsubcom.1 rxqueue.1

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