diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-05-18 04:57:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-05-18 04:57:08 +0000 |
commit | 82047d9250dced9207046b74567d15c4e3403efc (patch) | |
tree | 32d93ce772b6aa4f1a01595d97e7d7dd600d095f | |
parent | 6b5a406916d41562dd54a690b7b0c6bee2eafc82 (diff) |
Notes
-rw-r--r-- | emulators/gnuboy/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile index 92b7a0694ddf..31386d8e4088 100644 --- a/emulators/gnuboy/Makefile +++ b/emulators/gnuboy/Makefile @@ -11,14 +11,14 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo GameBoy emulator LICENSE= GPLv2 # (or later) -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib +LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib +USES= compiler USE_SDL= sdl USE_XORG= x11 USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS= --with-sdl +CONFIGURE_ARGS= --with-sdl --enable-optimize=low PORTDOCS= * PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy @@ -26,14 +26,19 @@ PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == "clang" +CONFIGURE_ARGS+=--disable-asm +.endif + do-install: -.for file in sdlgnuboy sgnuboy xgnuboy - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin +.for i in sdlgnuboy sgnuboy xgnuboy + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) .endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.mk> +.include <bsd.port.post.mk> |