1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/wiimms/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

50 lines
1.2 KiB
Makefile

# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$
PORTNAME= wiimms
DISTVERSION= 2.23a
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://gugus69.free.fr/wiimms/ \
LOCAL/martymac
DISTNAME= wit-${DISTVERSION}
MAINTAINER= olivier@cochard.me
COMMENT= Wiimms ISO Tools
LICENSE= GPLv2
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/wiimms-iso-tools
USES+= gmake
USE_GCC= yes
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
${WRKSRC}/*.sh \
${WRKSRC}/scripts/*.sh \
${WRKSRC}/setup/*.sh \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/share/wit|/share/wiimms|g' \
${WRKSRC}/Makefile
pre-configure:
@${CHMOD} +x ${WRKSRC}/setup.sh
do-configure:
@cd ${WRKSRC} && ./setup.sh
do-install:
${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>