1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/games/plutocracy/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= plutocracy
PORTVERSION= 0.0.20081229
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Multiplayer 3D economy/trade-based RTS
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= python tar:bzip2
USE_SDL= sdl pango
USE_GL= gl glu
USE_PYTHON= distutils
PYDISTUTILS_PKGVERSION= 0.0
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= plutocracy_
PORTDOCS= AUTHORS README
PORTDATA= *
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:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/plutocracy/api.so
${INSTALL_SCRIPT} ${WRKSRC}/pluto.py ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/plutocracy_ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>