mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
e310593f4a
/share is incorrect. Fix. PR: ports/162337 Submitted by: Olivier Cochard-Labbe <olivier@cochard.me> (maintainer) Feature safe: yes
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# New ports collection makefile for: wiimms
|
|
# Date created: 4 august 2011
|
|
# Whom: Olivier Cochard-Labbe <olivier@cochard.me>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wiimms
|
|
PORTVERSION= 2.00
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://gugus69.free.fr/wiimms/ \
|
|
LOCAL/martymac
|
|
DISTNAME= wit-${PORTVERSION}
|
|
|
|
MAINTAINER= olivier@cochard.me
|
|
COMMENT= Wiimms ISO Tools
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_GMAKE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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 ${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>
|