aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:26:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:26:14 +0800
commitfea9d1549c6cd7bd647cc41105acd78648f9c431 (patch)
tree6b4799b0cf7b3d20af9184999a4aa0c2ebcba9ce /emulators
parent977e999c0b032333c38a39ae48369ce254ba2b8f (diff)
downloadfreebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.gz
freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.zst
freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.zip
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'emulators')
-rw-r--r--emulators/kqemu-kmod-devel/Makefile4
-rw-r--r--emulators/kqemu-kmod/Makefile4
-rw-r--r--emulators/uae/Makefile26
3 files changed, 15 insertions, 19 deletions
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
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 <bsd.port.options.mk>
-
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 <bsd.port.mk>