aboutsummaryrefslogtreecommitdiffstats
path: root/games/worldofpadman
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-01-14 10:15:45 +0800
committeralepulver <alepulver@FreeBSD.org>2008-01-14 10:15:45 +0800
commit94f81dc3f40f9317413dbe85b7492a231a52c6b7 (patch)
tree8b2593b066a40e091519ffee037fb7e38bcc6cdb /games/worldofpadman
parent4b61c724265943aad3ebfd072b56f65e4024cd3f (diff)
downloadfreebsd-ports-gnome-94f81dc3f40f9317413dbe85b7492a231a52c6b7.tar.gz
freebsd-ports-gnome-94f81dc3f40f9317413dbe85b7492a231a52c6b7.tar.zst
freebsd-ports-gnome-94f81dc3f40f9317413dbe85b7492a231a52c6b7.zip
- 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]
Diffstat (limited to 'games/worldofpadman')
-rw-r--r--games/worldofpadman/Makefile7
-rw-r--r--games/worldofpadman/pkg-plist7
2 files changed, 10 insertions, 4 deletions
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index 44ac82798985..e18cd74f9cc3 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -7,6 +7,7 @@
PORTNAME= worldofpadman
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://thilo.kickchat.com/download/:full \
http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \
@@ -165,8 +166,12 @@ post-build:
do-install:
${MKDIR} ${DATADIR}
${CP} -r ${WRKDIR}/wop ${DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/wop.png \
+ ${PREFIX}/share/pixmaps/${PORTNAME}.png
.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
.if defined(WITH_GAMELIBS) || !defined(HAVE_VM_COMPILED)
. for dir in wop missionpack
diff --git a/games/worldofpadman/pkg-plist b/games/worldofpadman/pkg-plist
index c675d1a494da..712bdc9ed3a4 100644
--- a/games/worldofpadman/pkg-plist
+++ b/games/worldofpadman/pkg-plist
@@ -1,6 +1,6 @@
-%%CLIENT%%bin/wop
-%%SMP%%bin/wop-smp
-%%DEDICATED%%bin/wopded
+%%CLIENT%%bin/worldofpadman
+%%SMP%%bin/worldofpadman-smp
+%%DEDICATED%%bin/worldofpadmanded
%%PORTDOCS%%%%DOCSDIR%%/banner.html
%%PORTDOCS%%%%DOCSDIR%%/copyright_de.html
%%PORTDOCS%%%%DOCSDIR%%/copyright_en.html
@@ -71,6 +71,7 @@
%%PORTDOCS%%%%DOCSDIR%%/start_en.html
%%PORTDOCS%%%%DOCSDIR%%/weapons_de.html
%%PORTDOCS%%%%DOCSDIR%%/weapons_en.html
+share/pixmaps/worldofpadman.png
%%GAMELIBS%%%%DATADIR%%/missionpack/cgame.so
%%GAMELIBS%%%%DATADIR%%/missionpack/qagame.so
%%GAMELIBS%%%%DATADIR%%/missionpack/ui.so