freebsd-ports/games/lpairs/Makefile
Mark Linimon feee6ce9d6 Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc".

Approved by:	portmgr (tier-2 blanket)
2019-07-13 00:07:35 +00:00

46 lines
869 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 ${CHOSEN_COMPILER_TYPE} == gcc
${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>