1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/lang/rexx-imc/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

62 lines
2.0 KiB
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
PORTNAME= rexx-imc
PORTVERSION= 1.76
PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.cs.ox.ac.uk/people/ian.collier/distribution/ \
ftp://ftp.sai.msu.su/pub/unix/rexx/
MAINTAINER= ports@FreeBSD.org
COMMENT= Procedural programming language designed by IBM's UK Laboratories
BROKEN_armv6= fails to link: /nxb-bin/usr/bin/ld: hidden symbol __aeabi_uidivmod in libgcc.a is referenced by DSO
BROKEN_armv7= fails to link: /nxb-bin/usr/bin/ld: hidden symbol __aeabi_uidivmod in libgcc.a is referenced by DSO
CONFLICTS= rexx-regina-* oorexx
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Make
CONFIGURE_ENV= PREFIX="${PREFIX}"
CONFIGURE_ARGS= o all
# configures and builds in one step
NO_BUILD= yes
USE_LDCONFIG= yes
LLD_UNSAFE= yes
DOCFILES= rexx.info rexx.ref rexx.summary rexx.tech
RMEFILES= README README.Y2K README.bugreport README.docs \
README.files README.make README.news README.platforms
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
# CFLAGS safeness for ARCHs other than i386
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Make
# CC safeness
@${REINPLACE_CMD} -E -e 's|^CC=.+$$|CC=${CC}|' ${WRKSRC}/Make
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} rexx rxque rxstack \
${STAGEDIR}${PREFIX}/bin)
${INSTALL_DATA} ${WRKSRC}/rexxsaa.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/librexx.so.2 ${WRKSRC}/rxmathfn.rxfn \
${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/rxmathfn.rxlib ${STAGEDIR}${PREFIX}/lib
${LN} -sf librexx.so.2 ${STAGEDIR}${PREFIX}/lib/librexx.so
(cd ${WRKSRC} && ${INSTALL_MAN} rexx.1 rxstack.1 rxque.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${RMEFILES} \
${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_SCRIPT} box rexxcps.rexx rexxtest.rexx \
rxmathfn.rexx shell.rexx ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>