mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
af3d00bc7a
PR: 191824 Submitted by: Ports Fury
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= regina
|
|
PORTVERSION= 3.8.2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/${PORTNAME}-rexx/${PORTNAME}-rexx/${PORTVERSION}
|
|
PKGNAMEPREFIX= rexx-
|
|
DISTNAME= Regina-REXX-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Rexx interpreter
|
|
|
|
LICENSE= LGPL21 # (or later)
|
|
|
|
USES= gmake iconv tar:bzip2
|
|
USE_RC_SUBR= rxstack
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_c_char_unsigned=yes
|
|
CONFIGURE_ARGS= --with-addon-dir=${PREFIX}/lib/Regina-REXX/addons
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
DATADIR= ${PREFIX}/share/Regina-REXX
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/Regina-REXX
|
|
|
|
CONFLICTS= rexx-imc-[0-0]* oorexx-[0-9]*
|
|
|
|
BROKEN_powerpc= Does not link on powerpc
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == i386
|
|
CONFIGURE_ARGS+= --enable-32bit
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/$${CFLAGS}/s|^|#| ; \
|
|
s|"-lpthread"|"-pthread"|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
'/^examplesdir/s|=.*|= $$(datadir)/examples/$$(PACKAGE)| ; \
|
|
/$$(sysconfdir)/s|^|#|' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|