aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-10-28 17:11:36 +0800
committergahr <gahr@FreeBSD.org>2013-10-28 17:11:36 +0800
commitae03ffa3cf3da11977b8b5fa4b2c7aa194e4468b (patch)
tree79de6bf430a883507af6f79a768ef531fc4d717e
parent180e9081da2dcfb0082dbe5ec59825808da8977c (diff)
downloadfreebsd-ports-gnome-ae03ffa3cf3da11977b8b5fa4b2c7aa194e4468b.tar.gz
freebsd-ports-gnome-ae03ffa3cf3da11977b8b5fa4b2c7aa194e4468b.tar.zst
freebsd-ports-gnome-ae03ffa3cf3da11977b8b5fa4b2c7aa194e4468b.zip
- Update to 2.23a [1]
- Fix build on CURRENT, by requiring GCC [1] - STAGE-clean - Convert to USES+=gmake PR: 182051 Submitted by: maintainer Reviewed by: maintainer
-rw-r--r--sysutils/wiimms/Makefile28
-rw-r--r--sysutils/wiimms/distinfo4
-rw-r--r--sysutils/wiimms/files/patch-Makefile31
-rw-r--r--sysutils/wiimms/files/patch-setup.sh13
4 files changed, 56 insertions, 20 deletions
diff --git a/sysutils/wiimms/Makefile b/sysutils/wiimms/Makefile
index 70560ab3c24b..e44d951b14dc 100644
--- a/sysutils/wiimms/Makefile
+++ b/sysutils/wiimms/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wiimms
-DISTVERSION= 2.10a
+DISTVERSION= 2.23a
CATEGORIES= sysutils
MASTER_SITES= http://gugus69.free.fr/wiimms/ \
LOCAL/martymac
@@ -17,10 +17,8 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/wiimms-iso-tools
-USE_GMAKE= yes
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+USES+= gmake
+USE_GCC= yes
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
@@ -38,13 +36,13 @@ do-configure:
@cd ${WRKSRC} && ./setup.sh
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/wit ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/wwt ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/wdf ${PREFIX}/bin
- @${LN} -sf wdf ${PREFIX}/bin/wdf-cat
- @${LN} -sf wdf ${PREFIX}/bin/wdf-dump
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/share/* ${DATADIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/load-titles.sh ${DATADIR}
-
-.include <bsd.port.post.mk>
+ @${INSTALL_PROGRAM} ${WRKSRC}/wit ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/wwt ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/wdf ${STAGEDIR}${PREFIX}/bin
+ @${LN} -sf wdf ${STAGEDIR}${PREFIX}/bin/wdf-cat
+ @${LN} -sf wdf ${STAGEDIR}${PREFIX}/bin/wdf-dump
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/share/* ${STAGEDIR}${DATADIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/load-titles.sh ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/wiimms/distinfo b/sysutils/wiimms/distinfo
index 40480246b46b..c52060c299ed 100644
--- a/sysutils/wiimms/distinfo
+++ b/sysutils/wiimms/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wit-2.10a.tar.gz) = 847abdff776bc823d5a0dbb458a51607ef9d0a12ff5fc39241bef5f5332ec78c
-SIZE (wit-2.10a.tar.gz) = 1762759
+SHA256 (wit-2.23a.tar.gz) = b49e1f161cb4cb7da9db7b8a3447cbd94b8d9ac15d088097c7e47c39c7808b6e
+SIZE (wit-2.23a.tar.gz) = 1810162
diff --git a/sysutils/wiimms/files/patch-Makefile b/sysutils/wiimms/files/patch-Makefile
new file mode 100644
index 000000000000..4b9e7c7ad124
--- /dev/null
+++ b/sysutils/wiimms/files/patch-Makefile
@@ -0,0 +1,31 @@
+--- Makefile.orig 2013-07-12 20:59:10.000000000 +0200
++++ Makefile 2013-09-12 21:36:58.340976359 +0200
+@@ -27,7 +27,7 @@
+ #-------------------------------------------------------------------------------
+ # global settings
+
+-#SHELL = /bin/bash
++#SHELL = /usr/local/bin/bash
+ SHELL = /usr/bin/env bash
+
+ AUTHOR = Dirk Clemens
+@@ -99,8 +99,8 @@
+ # compiler settings
+
+ PRE ?=
+-CC = $(PRE)gcc
+-CPP = $(PRE)g++
++#CC = $(PRE)cc
++#CPP = $(PRE)cpp
+ STRIP = $(PRE)strip
+
+ #-------------------------------------------------------------------------------
+@@ -248,7 +248,7 @@
+
+ #-------------------------------------------------------------------------------
+
+-SHARE_PATH = $(INSTALL_PATH)/share/wit
++SHARE_PATH = $(INSTALL_PATH)/share/wiimms
+ INSTALL_SCRIPTS = install.sh load-titles.sh
+ RM_FILES += $(INSTALL_SCRIPTS)
+ SCRIPTS = ./scripts
diff --git a/sysutils/wiimms/files/patch-setup.sh b/sysutils/wiimms/files/patch-setup.sh
index 76b178295ded..1eebb19b806a 100644
--- a/sysutils/wiimms/files/patch-setup.sh
+++ b/sysutils/wiimms/files/patch-setup.sh
@@ -1,5 +1,5 @@
---- setup.sh.orig 2011-07-08 20:21:46.000000000 +0200
-+++ setup.sh 2011-08-04 01:55:05.000000000 +0200
+--- setup.sh.orig 2013-02-09 21:55:43.000000000 +0100
++++ setup.sh 2013-09-12 21:34:08.051742488 +0200
@@ -19,8 +19,9 @@
tim=($(date '+%s %Y-%m-%d %T'))
@@ -27,5 +27,12 @@
+# FreeBSD didn't support Pre-alloc
+defines="$defines -DNO_PREALLOC"
- [[ $STATIC = 1 ]] || STATIC=0
+ [[ -r /usr/include/linux/fiemap.h ]] \
+ && grep -qw fiemap_extent /usr/include/linux/fiemap.h \
+@@ -110,6 +115,6 @@
+ ---EOT---
+
+-gcc $xflags system.c -o system.tmp && ./system.tmp >>Makefile.setup
++${CC} $xflags system.c -o system.tmp && ./system.tmp >>Makefile.setup
+ rm -f system.tmp