diff options
-rw-r--r-- | emulators/cingb/Makefile | 29 | ||||
-rw-r--r-- | emulators/cingb/distinfo | 4 |
2 files changed, 21 insertions, 12 deletions
diff --git a/emulators/cingb/Makefile b/emulators/cingb/Makefile index f2405e12937c..db4e866053f8 100644 --- a/emulators/cingb/Makefile +++ b/emulators/cingb/Makefile @@ -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} diff --git a/emulators/cingb/distinfo b/emulators/cingb/distinfo index 9056f4f4ccc6..fe79431408d8 100644 --- a/emulators/cingb/distinfo +++ b/emulators/cingb/distinfo @@ -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 |