1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/kartofel/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

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: kartofel
# Date created: 19 Jan 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kartofel
PORTVERSION= 1.2
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://kartofel.jfedor.org/downloads/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Connect the dots in order without crossing over yourself
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
USE_GMAKE= yes
USE_SDL= sdl gfx mixer image ttf
ALL_TARGET= default
MAKE_JOBS_SAFE= yes
DATA_DIRS= sounds fonts music images levels
DESKTOP_ENTRIES="Kartofel" \
"A game of skill and logic" \
"${DATADIR}/images/icon32x32.png" \
"kartofel" \
"Game;LogicGame;ArcadeGame;" \
false
post-patch:
@${REINPLACE_CMD} -e '/^CXXOPTIONS/ d; s|g++|${CXX} ${CXXFLAGS}|; \
s|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
.for d in ${DATA_DIRS}
@${REINPLACE_CMD} -e 's|$d/|${DATADIR}/&|' ${WRKSRC}/config.h
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${DATADIR}
.include <bsd.port.mk>