Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 03:26:03 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/188142: emulators/advancemenu: Update to version 2.7
Message-ID:  <20140401032603.e5e70277a199c4545470ffd8@yahoo.com>
Resent-Message-ID: <201403311840.s2VIe2B6004916@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188142
>Category:       ports
>Synopsis:       emulators/advancemenu: Update to version 2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 18:40:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 2.7

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/emulators/advancemenu/Makefile emulators/advancemenu/Makefile
--- /usr/ports/emulators/advancemenu/Makefile	2013-11-06 22:06:19.000000000 +0900
+++ emulators/advancemenu/Makefile	2014-04-01 00:00:00.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/emulators/advancemenu/Makefile 327721 2013-09-20 16:43:52Z bapt $
 
 PORTNAME=	advancemenu
-PORTVERSION=	2.6
+PORTVERSION=	2.7
 CATEGORIES=	emulators
 MASTER_SITES=	SF/advancemame/${PORTNAME}/${PORTVERSION}
 
@@ -11,53 +11,47 @@
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2
-
-OPTIONS_DEFINE=	FREETYPE DOCS
-OPTIONS_DEFAULT=FREETYPE
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
+USES=		gmake
 USE_SDL=	sdl
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-asm --disable-svgalib --disable-fb \
-		--disable-alsa --enable-oss --disable-slang \
-		--disable-ncurses --disable-kevent
+CONFIGURE_ARGS=	--disable-svgalib --disable-fb --disable-alsa --enable-oss \
+		--disable-slang --disable-ncurses --disable-kevent
 
 CFLAGS+=	-idirafter ${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		advmenu.1
 PORTDOCS=	*
-PLIST_FILES=	bin/advmenu
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_FILES=	bin/advmenu man/man1/advmenu.1.gz
 
-.if ${PORT_OPTIONS:MFREETYPE}
-LIB_DEPENDS+=	freetype:${PORTSDIR}/print/freetype2
-.else
-CONFIGURE_ARGS+=--disable-freetype
-.endif
+OPTIONS_DEFINE=		DOCS FREETYPE
+OPTIONS_DEFINE_i386=	ASM
+OPTIONS_DEFAULT=	FREETYPE
+OPTIONS_DEFAULT_i386=	ASM
+
+ASM_BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
+ASM_CONFIGURE_ENABLE=	asm
+FREETYPE_LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
+FREETYPE_CONFIGURE_ENABLE=	freetype
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|-pthread|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|@@|@|' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e \
-		'/\(pkgdocdir\)/s|^|#| ; \
-		 /WHOLE_CFLAGS_OPT/s|-O2|| ; \
-		 /WHOLE_LDFLAGS/s|-s||' ${WRKSRC}/advance/advance.mak
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} advmenu ${PREFIX}/bin)
-	(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 ${MANPREFIX}/man/man1)
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} advmenu \
+		${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1)
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in HISTORY README RELEASE
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
+		${STAGEDIR}${DOCSDIR})
 .endfor
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* ${DOCSDIR})
-.endif
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* \
+		${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/emulators/advancemenu/distinfo emulators/advancemenu/distinfo
--- /usr/ports/emulators/advancemenu/distinfo	2013-11-06 22:06:19.000000000 +0900
+++ emulators/advancemenu/distinfo	2014-04-01 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (advancemenu-2.6.tar.gz) = e854c9d58d8e936f926493476e25a37089e3c39ab53863cfecaa4fb645dc4b31
-SIZE (advancemenu-2.6.tar.gz) = 2384272
+SHA256 (advancemenu-2.7.tar.gz) = e635f8d236b08e40587344daa33ef78d50d14e01fb6a7ef74eb6fdb3e80cb224
+SIZE (advancemenu-2.7.tar.gz) = 2371297
diff -urN /usr/ports/emulators/advancemenu/pkg-descr emulators/advancemenu/pkg-descr
--- /usr/ports/emulators/advancemenu/pkg-descr	2014-01-23 03:10:37.000000000 +0900
+++ emulators/advancemenu/pkg-descr	2014-04-01 00:00:00.000000000 +0900
@@ -1,21 +1,21 @@
-AdvanceMENU is a frontend for AdvanceMAME, MAME, MESS, RAINE and any other
-emulator.
+AdvanceMENU is a frontend for AdvanceMAME, MAME, MESS, RAINE and any
+other emulator.
 
 It runs in Linux, Mac OS X, DOS, Windows and in all the other platforms
 supported by the SDL library. The main features are:
 
 * Auto update of the rom info.
 * Vertical and horizontal orientation.
-* Support for any TV/Arcade Monitor like AdvanceMAME but it's good also for a
-  normal PC monitor.
-* Static and Animated image and clip preview (PNG/PCX/ICO/MNG). Up to 192
-  images at the same time!
-* Sound preview. (MP3/WAV). You can select a special sound for every game
-  played when the cursor move on it.
-* Sound backgrounds (MP3/WAV). Play your favourite songs or radio records in
-  background.
-* Sound effects (MP3/WAV) for key press, program start, game start, program
-  exit...
+* Support for any TV/Arcade Monitor like AdvanceMAME but it's good also
+  for a normal PC monitor.
+* Static and Animated image and clip preview (PNG/PCX/ICO/MNG). Up to
+  192 images at the same time!
+* Sound preview. (MP3/WAV). You can select a special sound for every
+  game played when the cursor move on it.
+* Sound backgrounds (MP3/WAV). Play your favourite songs or radio
+  records in background.
+* Sound effects (MP3/WAV) for key press, program start, game start,
+  program exit...
 * Support for zipped images and sounds archives.
 * Screensaver. A slide show of the game images.
 * Selectable background and help images with translucency.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140401032603.e5e70277a199c4545470ffd8>