mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
9041a8ad49
- Unbreak the build on modern FreeBSD versions by avoiding
injecting duplicate symbols in the object files
- Drop MAKE_JOBS_UNSAFE: it was added back in 2013 in the
commit 2a5c8652e5
to fix the build error:
crt1.c:(.text+0xa8): undefined reference to `main'
gmake[2]: *** [build68k] Error 1
which no longer manifests itself
PR: 256577
60 lines
2.1 KiB
Makefile
60 lines
2.1 KiB
Makefile
# Created by: Simon Dick <simond@irrelevant.org>
|
|
|
|
PORTNAME= uae
|
|
PORTVERSION= 0.8.29
|
|
PORTREVISION= 3
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= LOCAL/grembo
|
|
|
|
MAINTAINER= simond@irrelevant.org
|
|
COMMENT= Commodore Amiga emulator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CONFLICTS= e-uae-[0-9]*
|
|
|
|
USES= gmake gnome pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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>
|