Date: Sat, 16 Jan 2016 18:43:45 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406266 - in head/emulators/advancemess: . files Message-ID: <201601161843.u0GIhj7W070045@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Jan 16 18:43:45 2016 New Revision: 406266 URL: https://svnweb.freebsd.org/changeset/ports/406266 Log: - Update to 1.4 PR: 202848 Submitted by: ports fury Deleted: head/emulators/advancemess/files/ head/emulators/advancemess/pkg-message head/emulators/advancemess/pkg-plist Modified: head/emulators/advancemess/Makefile head/emulators/advancemess/distinfo Modified: head/emulators/advancemess/Makefile ============================================================================== --- head/emulators/advancemess/Makefile Sat Jan 16 18:41:05 2016 (r406265) +++ head/emulators/advancemess/Makefile Sat Jan 16 18:43:45 2016 (r406266) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= advancemess -PORTVERSION= 0.102.0.1 -PORTREVISION= 7 +PORTVERSION= 1.4 CATEGORIES= emulators -MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION} +MASTER_SITES= https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= SDL MESS port with advanced TV and monitor video support @@ -14,35 +13,54 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 +RUN_DEPENDS= advancemame>=1.4:${PORTSDIR}/emulators/advancemame -USE_GL= yes -USES= gmake +USES= gmake ncurses USE_SDL= sdl GNU_CONFIGURE= yes -LDFLAGS+= -L${LOCALBASE}/lib -CFLAGS+= -idirafter ${LOCALBASE}/include +CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ + --disable-kevent -OPTIONS_DEFINE= FREETYPE SLANG -SLANG_DESC= Enable sLang support (for video driver) +CFLAGS+= -idirafter ${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +PORTDOCS= * +PLIST_FILES= bin/advmess \ + man/man1/advmess.1.gz \ + share/advance/sysinfo.dat + +OPTIONS_DEFINE= FREETYPE SLANG +OPTIONS_DEFINE_i386= ASM +OPTIONS_DEFAULT= FREETYPE +OPTIONS_DEFAULT_i386= ASM + +ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +ASM_USE= gcc=any +ASM_CONFIGURE_ENABLE= asm +FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype -FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 - -SLANG_CONFIGURE_ENABLE= slang SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2 +SLANG_CONFIGURE_ENABLE= slang +SLANG_LDFLAGS= -lncurses -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm -.endif +BROKEN_powerpc= Does not compile on powerpc post-patch: - @${REINPLACE_CMD} -E -e '/pkgdocdir/d' \ - -e 's,(bin|man|pkg)dir),DESTDIR)$$(&,' \ - ${WRKSRC}/advance/advance.mak - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/advmess + @${REINPLACE_CMD} -e \ + 's|@@|@|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + '/WHOLE_CFLAGS_OPT/s|-O2|| ; \ + /WHOLE_LDFLAGS/s|-s||' ${WRKSRC}/advance/advance.mak + @${REINPLACE_CMD} -e \ + 's|-lpthread|-pthread|' ${WRKSRC}/advance/emu.mak + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} advmess \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC}/support && ${INSTALL_MAN} advmess.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${PREFIX}/share/advance + (cd ${WRKSRC}/support && ${INSTALL_DATA} sysinfo.dat \ + ${STAGEDIR}${PREFIX}/share/advance) -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/emulators/advancemess/distinfo ============================================================================== --- head/emulators/advancemess/distinfo Sat Jan 16 18:41:05 2016 (r406265) +++ head/emulators/advancemess/distinfo Sat Jan 16 18:43:45 2016 (r406266) @@ -1,2 +1,2 @@ -SHA256 (advancemess-0.102.0.1.tar.gz) = 78966d25399a3f70801fb5ac3e93c6fcb14c94991f37d587e9b57bb8a403f7f9 -SIZE (advancemess-0.102.0.1.tar.gz) = 6903540 +SHA256 (advancemess-1.4.tar.gz) = 0d78a56075adeb8ffc1716205e195ee4e005d8799067858d398a4e7750151d00 +SIZE (advancemess-1.4.tar.gz) = 9288257
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601161843.u0GIhj7W070045>