Bug 188142 - emulators/advancemenu: Update to version 2.7
Summary: emulators/advancemenu: Update to version 2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 19:40 UTC by tkato432
Modified: 2014-05-19 09:00 UTC (History)
0 users

See Also:


Attachments
file.diff (4.92 KB, patch)
2014-03-31 19:40 UTC, tkato432
no flags Details | Diff
emulators_advancemenu.diff (4.62 KB, patch)
2014-04-09 19:00 UTC, tkato432
no flags Details | Diff
emulators_advancemenu.diff (4.64 KB, patch)
2014-04-17 18:51 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-03-31 19:40:02 UTC
- Update to version 2.7
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-31 19:40:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 tkato432 2014-04-09 19:00:01 UTC
Remake of the patch against current tree.
Comment 3 tkato432 2014-04-17 18:51:06 UTC
Remake of the patch against current tree.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-19 08:50:07 UTC
Author: miwi
Date: Mon May 19 07:50:03 2014
New Revision: 354508
URL: http://svnweb.freebsd.org/changeset/ports/354508
QAT: https://qat.redports.org/buildarchive/r354508/

Log:
  - Update to 2.7
  - Update pkg-descr
  
  PR:		188142
  Submitted by:	ports fury

Modified:
  head/emulators/advancemenu/Makefile
  head/emulators/advancemenu/distinfo
  head/emulators/advancemenu/pkg-descr

Modified: head/emulators/advancemenu/Makefile
==============================================================================
--- head/emulators/advancemenu/Makefile	Mon May 19 07:49:32 2014	(r354507)
+++ head/emulators/advancemenu/Makefile	Mon May 19 07:50:03 2014	(r354508)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	advancemenu
-PORTVERSION=	2.6
-PORTREVISION=	1
+PORTVERSION=	2.7
 CATEGORIES=	emulators
 MASTER_SITES=	SF/advancemame/${PORTNAME}/${PORTVERSION}
 
@@ -14,12 +13,11 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
-USE_SDL=	sdl
 USES=		gmake
+USE_SDL=	sdl
 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
@@ -27,29 +25,33 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 PORTDOCS=	*
 PLIST_FILES=	bin/advmenu man/man1/advmenu.1.gz
 
-OPTIONS_DEFINE=	FREETYPE DOCS
-OPTIONS_DEFAULT=FREETYPE
-
+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
-FREETYPE_LIB_DEPENDS=		libfreetype.so:${PORTSDIR}/print/freetype2
 
 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 ${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} advmenu \
+		${STAGEDIR}${PREFIX}/bin)
 	(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 \
 		${STAGEDIR}${MANPREFIX}/man/man1)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \
+.for i in HISTORY README RELEASE
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
+		${STAGEDIR}${DOCSDIR})
+.endfor
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* \
 		${STAGEDIR}${DOCSDIR})
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/emulators/advancemenu/distinfo
==============================================================================
--- head/emulators/advancemenu/distinfo	Mon May 19 07:49:32 2014	(r354507)
+++ head/emulators/advancemenu/distinfo	Mon May 19 07:50:03 2014	(r354508)
@@ -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

Modified: head/emulators/advancemenu/pkg-descr
==============================================================================
--- head/emulators/advancemenu/pkg-descr	Mon May 19 07:49:32 2014	(r354507)
+++ head/emulators/advancemenu/pkg-descr	Mon May 19 07:50:03 2014	(r354508)
@@ -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.
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2014-05-19 08:50:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!