1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/wiimms/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Olivier Cochard-Labbe <olivier@FreeBSD.org>
# $FreeBSD$
PORTNAME= wiimms
DISTVERSION= 2.23a
PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= http://gugus69.free.fr/wiimms/ \
LOCAL/martymac
DISTNAME= wit-${DISTVERSION}
MAINTAINER= olivier@FreeBSD.org
COMMENT= Wiimms ISO Tools
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash: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>