aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-04-29 06:30:41 +0800
committerbeech <beech@FreeBSD.org>2013-04-29 06:30:41 +0800
commit28042865479b48978346695ad77cfae82c0df33a (patch)
treeaccd970f1acb2878a48338f7cb39b55894e0ae0c /games
parentfe00732c023cf72e9d7e71866ad366cc52f30532 (diff)
downloadfreebsd-ports-gnome-28042865479b48978346695ad77cfae82c0df33a.tar.gz
freebsd-ports-gnome-28042865479b48978346695ad77cfae82c0df33a.tar.zst
freebsd-ports-gnome-28042865479b48978346695ad77cfae82c0df33a.zip
- Changed Icons
- Fix desktop entry - Remove dependency for graphics/netpbm - Fix examples - Makefile tweaks - Bump portrevision PR: ports/177005 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/3dpong/Makefile30
-rw-r--r--games/3dpong/distinfo4
2 files changed, 15 insertions, 19 deletions
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile
index 512d0ff48d95..b28b94681611 100644
--- a/games/3dpong/Makefile
+++ b/games/3dpong/Makefile
@@ -2,13 +2,13 @@
PORTNAME= 3dpong
PORTVERSION= 0.5
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/3dpong/src/ \
ftp://ftp.billsgames.com/unix/x/3dpong/src/ \
- http://www.newbreedsoftware.com/images/prodicons/:icons
+ SF/nemysisfreebsdp/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}.gif:icons
+ ${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
@@ -17,8 +17,6 @@ COMMENT= X Window 3D Pong game for 1 or 2 players
LICENSE= GPLv2
-BUILD_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
-
USE_XORG= x11
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
@@ -28,39 +26,37 @@ MAN6= ${PORTNAME}.6
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png \
- share/examples/${PORTNAME}/${PORTNAME}-handball.sh \
- share/examples/${PORTNAME}/${PORTNAME}-vs-computer.sh
-PLIST_DIRS= share/examples/${PORTNAME}
+ %%DATADIR%%/hit.au \
+ %%DATADIR%%/score.au \
+ %%DATADIR%%/wall.au
+PLIST_DIRS= %%DATADIR%%
-PORTDATA= *
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt
+PORTEXAMPLES= *
DESKTOP_ENTRIES="3D Pong" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+ "${PORTNAME}" "Game;ArcadeGame;" false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c
-post-build:
- @(cd ${WRKSRC} && \
- ${LOCALBASE}/bin/giftopnm ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.gif | \
- ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/src/${MAN6} ${MAN6PREFIX}/man/man6
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}
.endif
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+.endif
.include <bsd.port.mk>
diff --git a/games/3dpong/distinfo b/games/3dpong/distinfo
index 8e768a098b28..9cf71c4c3d0d 100644
--- a/games/3dpong/distinfo
+++ b/games/3dpong/distinfo
@@ -1,4 +1,4 @@
SHA256 (3dpong/3dpong-0.5.tar.gz) = b1557818319f482c1e0795192f013ecf998c9f1013033b542676d1bf743a6bc5
SIZE (3dpong/3dpong-0.5.tar.gz) = 37004
-SHA256 (3dpong/3dpong.gif) = 52524304fd79bb31740ac59a6ce249cc8461112adca0e4f3ab57ff4ab5623a1f
-SIZE (3dpong/3dpong.gif) = 321
+SHA256 (3dpong/3dpong.png) = fad29ba55c9d0c3fd3240b8b7add7350de4775a652d52e3bd8e9b4135e23941b
+SIZE (3dpong/3dpong.png) = 270
aed4bd2ec2b74ae4f1fc8ee0e9be7'>Update to mmail-0.46 to fix fetchingkris2005-10-152-4/+3 * Chase MASTER_SITEkris2005-10-151-1/+2 * Bump PORTREVISION for unexec rmdirache2005-10-131-0/+1 * @unexec rmdir %D/share/locale/rw/LC_MESSAGESache2005-10-131-0/+2 * Reset bouncing maintainer and chase mastersite.linimon2005-10-102-5/+3 * Re-add BROKEN line which was removed to test coverage of mastersitelinimon2005-10-091-1/+1 * Change MAINTAINER address for my ports.ehaupt2005-10-061-1/+1 * Remove obsolete mastersites.linimon2005-10-061-9/+3 * Upgrade to 1.7.9ache2005-10-053-3/+5 * - Update to 0.71novel2005-09-262-7/+6 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-221-1/+1 * - Update to 0.7garga2005-09-193-4/+7 * Update to 20050910 snapshot.fjoe2005-09-163-4/+226 * - Fix xover head filteringpav2005-09-142-1/+12 * Remove mastersite which has gone away.linimon2005-09-011-1/+0 * Update to 0.91skv2005-08-302-3/+3 * Fix build when WITH_TIN_CANLOCK is definedvs2005-07-282-9/+2 * This port is scheduled for deletion on 2005-09-22 if it is still brokenkris2005-07-232-0/+4 * Brag collects and assembles multipart binary attachements from newsgroups.pav2005-07-204-0/+52 * BROKEN: Incomplete pkg-plistkris2005-07-181-0/+2 * hellanzb is an easy to use app designed to retrieve nzb files and fully processpav2005-07-036-0/+147 * Fix incorrect ioctl arguments size (affects big-endian 64-bit platforms).mph2005-06-152-0/+18 * Fix build on 4.xarved2005-06-101-0/+11 * - Update to 1.11.3 [1]jylefort2005-06-09