Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 17:28:07 +0000 (UTC)
From:      Armin Pirkovitsch <sperber@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301167 - head/emulators/cingb
Message-ID:  <201207191728.q6JHS7F1003009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sperber
Date: Thu Jul 19 17:28:07 2012
New Revision: 301167
URL: http://svn.freebsd.org/changeset/ports/301167

Log:
  - Update to version 0.31
  
  PR:           ports/169412
  Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
  Approved by:  beat (mentor)

Modified:
  head/emulators/cingb/Makefile   (contents, props changed)
  head/emulators/cingb/distinfo   (contents, props changed)

Modified: head/emulators/cingb/Makefile
==============================================================================
--- head/emulators/cingb/Makefile	Thu Jul 19 17:27:33 2012	(r301166)
+++ head/emulators/cingb/Makefile	Thu Jul 19 17:28:07 2012	(r301167)
@@ -6,18 +6,23 @@
 #
 
 PORTNAME=	cingb
-PORTVERSION=	0.29
-PORTREVISION=	2
+PORTVERSION=	0.31
 CATEGORIES=	emulators
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/V029A
+MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another Nintendo GameBoy(tm) emulator
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_XORG=	x11 xext
+OPTIONS_DEFINE=	DOCS
+
+USE_BZIP2=	yes
+USE_XORG=	x11 xext xv
+MAKE_ENV=	X11BASE="${LOCALBASE}"
 ALL_TARGET=	standard
+MAKE_JOBS_SAFE=	yes
 
 PORTDOCS=	README README.FAQ
 PLIST_FILES=	bin/cingb bin/cingb_conf
@@ -33,25 +38,29 @@ CPPFLAGS+=	-DUSE_LITTLE_ENDIAN
 
 do-configure:
 	cd ${WRKSRC} && ${SED} -e \
-		's|gcc|$${CC}|g ; \
-		 s|/usr/X11R6|$${LOCALBASE}|g ; \
+		's|%%%endian%%%|$${CPPFLAGS}|g ; \
 		 s|^CFLAGS|#CFLAGS|g ; \
-		 s|^OPTMZ|#OPTMZ|g ; \
-		 s|%%%endian%%%|$${CPPFLAGS}|g ; \
+		 s|%%%prefix-setup%%%||g ; \
+		 s|-I/usr/include -I/usr/include/glide||g ; \
+		 s|-I/usr/include/X11||g ; \
 		 s|%%%pthread%%%|$${LDFLAGS}|g ; \
 		 s|%%%libext%%%|-lXext|g ; \
 		 s|%%%libsocket%%%||g ; \
 		 s|%%%libnsl%%%||g ; \
+		 s|%%%LIBXV%%%|-lXv|g ; \
+		 s|^OPTMZ|#OPTMZ|g ; \
 		 s|%%%joystick%%%|-DBSD_JOYSTICK|g ; \
 		 s|%%%framebuffer%%%||g ; \
 		 s|%%%mitshm%%%|-DMIT_SHM|g ; \
+		 s|%%%XVDEF%%%|-DWITH_XVIDEO|g ; \
+		 s|%%%OSDEF%%%|-D_BSD|g ; \
 		 s|%%%sound%%%|-DSOUND|g ; \
 		 s|%%%joyconf%%%|conf|g' < Makefile.templ > Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cingb ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/cingb_conf ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.FAQ ${DOCSDIR}

Modified: head/emulators/cingb/distinfo
==============================================================================
--- head/emulators/cingb/distinfo	Thu Jul 19 17:27:33 2012	(r301166)
+++ head/emulators/cingb/distinfo	Thu Jul 19 17:28:07 2012	(r301167)
@@ -1,2 +1,2 @@
-SHA256 (cingb-0.29.tar.gz) = 15b495f9dcf9fb2a97167c7514fcc731e32f04b058d8a62c740ab646726df7a3
-SIZE (cingb-0.29.tar.gz) = 58413
+SHA256 (cingb-0.31.tar.bz2) = a6e2f89c870c696d7d68c3d8be7910feecee4c9ad9742f7ed9244f64d4d2e4d5
+SIZE (cingb-0.31.tar.bz2) = 53831



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