aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rexx-regina/Makefile
blob: 1d6409d3261655c446c9c21a98f3405065836781 (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
41
# ex:ts=8
# Ports collection makefile for:    rexx-regina
# Date created:         Nov 11, 2003
# Whom:                 ijliao
#
# $FreeBSD$
#

PORTNAME=   regina
PORTVERSION=    3.3
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-rexx
PKGNAMEPREFIX=  rexx-
DISTNAME=   Regina-REXX-${PORTVERSION}

MAINTAINER= g.gonter@ieee.org
COMMENT=    A Rexx interpreter

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

WRKSRC=     ${WRKDIR}/Regina-${PORTVERSION}
USE_REINPLACE=  yes
USE_OPENSSL=    yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes

MAN1=   regina.1

post-patch:
    @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure

post-configure:
    @${REINPLACE_CMD} -e "s|-xchar=unsigned||g" ${WRKSRC}/Makefile

post-install:
    @${INSTALL_SCRIPT} ${FILESDIR}/rxstack.sh ${PREFIX}/etc/rc.d

.include <bsd.port.mk>