From fea9d1549c6cd7bd647cc41105acd78648f9c431 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 26 Aug 2015 18:26:14 +0000 Subject: - Switch to options helpers - While here, add some NO_ARCHes Approved by: portmgr blanket --- emulators/kqemu-kmod-devel/Makefile | 4 ++-- emulators/kqemu-kmod/Makefile | 4 ++-- emulators/uae/Makefile | 26 +++++++++++--------------- 3 files changed, 15 insertions(+), 19 deletions(-) (limited to 'emulators') diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile index b51c529290e9..eaae695e93f5 100644 --- a/emulators/kqemu-kmod-devel/Makefile +++ b/emulators/kqemu-kmod-devel/Makefile @@ -66,10 +66,10 @@ do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) ${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu ${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \ ${STAGEDIR}${DOCSDIR} -.endif .include diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile index 0f64f04539ef..1749187a76e6 100644 --- a/emulators/kqemu-kmod/Makefile +++ b/emulators/kqemu-kmod/Makefile @@ -62,10 +62,10 @@ do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) ${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu ${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \ ${STAGEDIR}${DOCSDIR} -.endif .include diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 2b5a7c0d8c7b..2836ea88b2d5 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -12,6 +12,8 @@ COMMENT= Commodore Amiga emulator LICENSE= GPLv2 +BROKEN_powerpc= does not compile on powerpc + CONFLICTS= e-uae-[0-9]* MAKE_JOBS_UNSAFE=yes @@ -22,24 +24,12 @@ USE_GNOME= gtk20 OPTIONS_DEFINE= DOCS -.include - pre-configure: @${REINPLACE_CMD} -e 's|build68kc|build68k|' \ ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - @${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 -.endif @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AHI @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes ${INSTALL_DATA} ${WRKSRC}/amiga/mousehack ${STAGEDIR}${DATADIR}/amiga @@ -55,8 +45,14 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/amiga/devs/AudioModes/UAE \ ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif +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 -- cgit