fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
37 lines
804 B
Makefile
37 lines
804 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/lgames/${PORTNAME}/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Classical memory game
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.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>
|