aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorsperber <sperber@FreeBSD.org>2012-07-20 01:28:07 +0800
committersperber <sperber@FreeBSD.org>2012-07-20 01:28:07 +0800
commite13df2f8b1d32a76644361ea776e6c445d5441a6 (patch)
treec457d793fc6995fba6098f3e0d6bbd82c55b496f /emulators
parent797cc7dab350db48cf3ec39aba2c969990ff9e4f (diff)
downloadfreebsd-ports-gnome-e13df2f8b1d32a76644361ea776e6c445d5441a6.tar.gz
freebsd-ports-gnome-e13df2f8b1d32a76644361ea776e6c445d5441a6.tar.zst
freebsd-ports-gnome-e13df2f8b1d32a76644361ea776e6c445d5441a6.zip
- Update to version 0.31
PR: ports/169412 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/cingb/Makefile29
-rw-r--r--emulators/cingb/distinfo4
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