1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/emulators/uae/Makefile
Muhammad Moinur Rahman 6381061b9b emulators/uae: Remove CC/CPP/CXX exports
USES=llvm now by default exports CC/CPP/CXX so remove those

Approved by:	portmgr (blanket)
2023-09-30 01:20:53 +02:00

65 lines
2.2 KiB
Makefile

PORTNAME= uae
PORTVERSION= 0.8.29
PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= LOCAL/grembo
MAINTAINER= simond@irrelevant.org
COMMENT= Commodore Amiga emulator
WWW= http://www.amigaemulator.org/
LICENSE= GPLv2
CONFLICTS= e-uae
USES= gmake gnome pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= gtk20
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=15
.endif
post-patch:
@${REINPLACE_CMD} -e 's|build68kc|build68k|' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|struct socketbase {|extern &|' \
${WRKSRC}/src/include/bsdsocket.h
@${LN} -sf ../md-ppc/support.c ${WRKSRC}/src/md-ppc-gcc/support.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk \
${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AHI
@${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes
${INSTALL_DATA} ${WRKSRC}/amiga/mousehack ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/timehack ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/transdisk ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/transrom ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/uae-control ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/uae-control.info \
${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/uae_rcli ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/uaectrl ${STAGEDIR}${DATADIR}/amiga
${INSTALL_DATA} ${WRKSRC}/amiga/devs/AHI/uae.audio \
${STAGEDIR}${DATADIR}/amiga/devs/AHI
${INSTALL_DATA} ${WRKSRC}/amiga/devs/AudioModes/UAE \
${STAGEDIR}${DATADIR}/amiga/devs/AudioModes
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/COMPATIBILITY ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/CREDITS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README.PROGRAMMERS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/unix/README \
${STAGEDIR}${DOCSDIR}/README.unix
.include <bsd.port.mk>