mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
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
41 lines
870 B
Makefile
41 lines
870 B
Makefile
# New ports collection makefile for: sdlsand
|
|
# Date created: 22 Apr 2006
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sdlsand
|
|
PORTVERSION= 20061017
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Simulation of falling sand and other materials
|
|
|
|
USE_ZIP= yes
|
|
USE_SDL= sdl
|
|
|
|
WRKSRC= ${WRKDIR}/SDL\ Sand/SDL\ Sand
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDOCS= readme.txt
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/crtdbg/ d' ${WRKSRC}/CmdLine.cpp
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CXX} -o ${PORTNAME} ${CXXFLAGS} \
|
|
`${SDL_CONFIG} --cflags --libs` main.cpp CmdLine.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|