1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/games/lpairs/Makefile
Mark Linimon d61df5cd2d Turn off the -Wno-unused-result flag on GCC-based architectures to
fix the following:

  cc1: error: unrecognized command line option "-Wno-unused-result"

Approved by:	portmgr (tier-2 blanket)
2019-04-06 19:17:00 +00:00

46 lines
896 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= lpairs
PORTVERSION= 1.0.5
CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME}/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Classical memory game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf compiler sdl
GNU_CONFIGURE= yes
USE_SDL= sdl
PORTDATA= *
DESKTOP_ENTRIES="LPairs" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;LogicGame;" \
""
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
${REINPLACE_CMD} -e 's|-Wno-unused-result||' ${WRKSRC}/configure.in
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.post.mk>