mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
7edcfaeb07
- change all ports using guile to USES=guile - flavorize guile-lib, guile-cairo, slib-guile PR: 260960 Reported by: Martin Neubauer <m.ne@gmx.net> Approved by: bofh Differential Revision: https://reviews.freebsd.org/D40194
39 lines
931 B
Makefile
39 lines
931 B
Makefile
PORTNAME= fmars
|
|
PORTVERSION= 0.0.207
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://corewar.co.uk/janeczek/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Fast Memory Array Redcode Simulator
|
|
WWW= https://corewar.co.uk/janeczek/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake guile:1.8,build,alias tar:bzip2
|
|
ALL_TARGET= x${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
|
|
|
|
OPTIMIZED_CFLAGS_CFLAGS=-fomit-frame-pointer
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^\(CC\) |#\1 | ; \
|
|
s|^\(CFLAGS\) |#\1 | ; \
|
|
s|^\(OPTS\) |#\1 | ; \
|
|
s|gcc -E|$$(CC) -E|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/x${PORTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "rc rc-test" ${STAGEDIR}${DATADIR})
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|