mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
69445046c0
- Bump dependent ports as .so version has changed Approved by: portmgr blanket
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= plutocracy
|
|
PORTVERSION= 0.0.20081229
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Multiplayer 3D economy/trade-based RTS
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
USES= tar:bzip2
|
|
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
|
|
PORTDATA= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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 ${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>
|