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
49 lines
1 KiB
Makefile
49 lines
1 KiB
Makefile
# New ports collection makefile for: plutocracy
|
|
# Date created: 29 Dec 2008
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= plutocracy
|
|
PORTVERSION= 0.0.20081229
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Multiplayer 3D economy/trade-based RTS
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_BZIP2= yes
|
|
USE_SDL= sdl pango
|
|
USE_GL= gl glu
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
INSTALLS_EGGINFO= yes
|
|
PYDISTUTILS_PKGVERSION= 0.0
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= plutocracy_
|
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|span font|span font_desc|' \
|
|
${WRKSRC}/src/render/r_assets.c
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pluto.py ${DATADIR}/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/plutocracy_ ${PREFIX}/bin/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|