- Bump PORTREVISION.

- Install png icon.
- Rename bin/wop* -> bin/worldofpadman* to avoid conflicts with games/wop [1].

Reported by:	Dmitry Marakasov <amdmi3@amdmi3.ru> [1]
This commit is contained in:
Alejandro Pulver 2008-01-14 02:15:45 +00:00
parent 77f1af2c6a
commit 1c8f1757aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205611
2 changed files with 10 additions and 4 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= worldofpadman PORTNAME= worldofpadman
PORTVERSION= 1.2 PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= games CATEGORIES= games
MASTER_SITES= http://thilo.kickchat.com/download/:full \ MASTER_SITES= http://thilo.kickchat.com/download/:full \
http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \ http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \
@ -165,8 +166,12 @@ post-build:
do-install: do-install:
${MKDIR} ${DATADIR} ${MKDIR} ${DATADIR}
${CP} -r ${WRKDIR}/wop ${DATADIR} ${CP} -r ${WRKDIR}/wop ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/wop.png \
${PREFIX}/share/pixmaps/${PORTNAME}.png
.for bin in ${Q3BIN} .for bin in ${Q3BIN}
${INSTALL_PROGRAM} ${WRKSRC}/build/release/${bin} ${PREFIX}/bin # Rename wop* -> worldofpadman* to avoid conflicts with games/wop.
${INSTALL_PROGRAM} ${WRKSRC}/build/release/${bin} \
${PREFIX}/bin/${bin:S/wop/${PORTNAME}/}
.endfor .endfor
.if defined(WITH_GAMELIBS) || !defined(HAVE_VM_COMPILED) .if defined(WITH_GAMELIBS) || !defined(HAVE_VM_COMPILED)
. for dir in wop missionpack . for dir in wop missionpack

View file

@ -1,6 +1,6 @@
%%CLIENT%%bin/wop %%CLIENT%%bin/worldofpadman
%%SMP%%bin/wop-smp %%SMP%%bin/worldofpadman-smp
%%DEDICATED%%bin/wopded %%DEDICATED%%bin/worldofpadmanded
%%PORTDOCS%%%%DOCSDIR%%/banner.html %%PORTDOCS%%%%DOCSDIR%%/banner.html
%%PORTDOCS%%%%DOCSDIR%%/copyright_de.html %%PORTDOCS%%%%DOCSDIR%%/copyright_de.html
%%PORTDOCS%%%%DOCSDIR%%/copyright_en.html %%PORTDOCS%%%%DOCSDIR%%/copyright_en.html
@ -71,6 +71,7 @@
%%PORTDOCS%%%%DOCSDIR%%/start_en.html %%PORTDOCS%%%%DOCSDIR%%/start_en.html
%%PORTDOCS%%%%DOCSDIR%%/weapons_de.html %%PORTDOCS%%%%DOCSDIR%%/weapons_de.html
%%PORTDOCS%%%%DOCSDIR%%/weapons_en.html %%PORTDOCS%%%%DOCSDIR%%/weapons_en.html
share/pixmaps/worldofpadman.png
%%GAMELIBS%%%%DATADIR%%/missionpack/cgame.so %%GAMELIBS%%%%DATADIR%%/missionpack/cgame.so
%%GAMELIBS%%%%DATADIR%%/missionpack/qagame.so %%GAMELIBS%%%%DATADIR%%/missionpack/qagame.so
%%GAMELIBS%%%%DATADIR%%/missionpack/ui.so %%GAMELIBS%%%%DATADIR%%/missionpack/ui.so