# Created by: Dmitry Marakasov # $FreeBSD: head/games/lpairs/Makefile 562595 2021-01-25 18:05:35Z amdmi3 $ 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 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