1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/games/ttt/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
902 B
Makefile

# New ports collection makefile for: ttt
# Date created: 11 July 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= ttt
PORTVERSION= 2011.04
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/ttt/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple one or two player Tic Tac Toe game
# net/ttt
CONFLICTS= ttt-1*
NO_LATEST_LINK= yes
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USE_SDL= sdl
USE_GMAKE= yes
USE_AUTOTOOLS= aclocal automake autoheader autoconf
AUTOMAKE_ARGS= --add-missing --force
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
'/SDL_mixer/d' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e \
's|\./images|${DATADIR}/images|g' ${WRKSRC}/src/init.c
post-install:
@${MKDIR} ${DATADIR}/images
${INSTALL_DATA} ${WRKSRC}/images/*.bmp ${DATADIR}/images
.include <bsd.port.mk>