1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/games/lpairs/Makefile
Dmitry Marakasov 5ef1cdeb43 LPairs is a classical memory game. This means you have to find pairs
of identical cards which will then be removed. Your time and tries
needed will be counted but there is no highscore chart or limit to
this.

WWW: http://lgames.sourceforge.net/index.php?project=LPairs
2008-09-23 11:54:19 +00:00

36 lines
790 B
Makefile

# New ports collection makefile for: lpairs
# Date created: 12 Sep 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lpairs
PORTVERSION= 1.0.4
CATEGORIES= games
MASTER_SITES= SF/lgames
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Classical memory game
GNU_CONFIGURE= yes
USE_SDL= sdl
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e '/^LIBS =/ s|$$| $${INTLLIBS}|' \
${WRKSRC}/lpairs/Makefile.in
@${REINPLACE_CMD} -e 's|^\(inst_dir=\).*|\1$$datarootdir/lpairs|' \
${WRKSRC}/configure
.include <bsd.port.mk>