freebsd-ports/games/connectfive/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- 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
2012-02-18 10:18:33 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: connectfive
# Date created: 20 Sep 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= connectfive
PORTVERSION= 1.0.2
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-linux/${PORTNAME}-${PORTVERSION}
DISTNAME= connectFive
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Place five pieces in a row on a 3d board
MAKEFILE= Makefile.linux
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= default
CPPFLAGS+= -I${LOCALBASE}/include
USE_SDL= sdl
USE_GL= gl
USE_XORG= xmu xext x11
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/connectFive
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/connect.cpp
@${REINPLACE_CMD} -e 's|Board::||' ${WRKSRC}/Board.h
do-install:
@${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/connectfive ${PREFIX}/bin/
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.txt ${WRKSRC}/LICENSE.txt ${WRKSRC}/README.txt ${DOCSDIR}/
.endif
.include <bsd.port.mk>