freebsd-ports/emulators/uae/Makefile
Alexey Dokuchaev 4efe99a8e6 - Allow to build on PowerPC by using generic (not GCC-specific) MD support
with empty machdep_init() vs. broken "Calibrating delay loop" code; some
  simple run-time tests, like booting off the kickstart ROM image, did not
  reveal any problems or performance artifacts
- Drop unsupported --enable-sound option (--with-oss-sound is the default,
  and OSS support is detected correctly)
- Remove `files/patch-configure.in' which was added in r76429 by mbr@ back
  in 2003 to allow UAE to build with GCC 3.x -- does not seem needed these
  days; consequently replace (deprecated) USE_AUTOTOOLS with GNU_CONFIGURE
- Do not patch things in `pre-configure', use `post-patch' target for that
- Sort USES values and wrap few overly long lines while I'm here
2015-09-09 15:58:28 +00:00

59 lines
2 KiB
Makefile

# Created by: Simon Dick <simond@irrelevant.org>
# $FreeBSD$
PORTNAME= uae
PORTVERSION= 0.8.29
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= LOCAL/grembo
MAINTAINER= simond@irrelevant.org
COMMENT= Commodore Amiga emulator
LICENSE= GPLv2
CONFLICTS= e-uae-[0-9]*
MAKE_JOBS_UNSAFE=yes
USES= gmake pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= gtk20
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|build68kc|build68k|' \
${WRKSRC}/src/Makefile.in
@${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>