aboutsummaryrefslogtreecommitdiff
path: root/games/frogatto
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-09-22 10:37:51 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-09-22 10:37:51 +0000
commitcb0f480dec7b325d79fc0c714f5c4d9a9a93fd95 (patch)
treed8044ae9ca99596aa222085aeb7563c95bf3d9b7 /games/frogatto
parent50ae66069b6482716ceb6a6baee4e6ab0af256f9 (diff)
Notes
Diffstat (limited to 'games/frogatto')
-rw-r--r--games/frogatto/Makefile13
-rw-r--r--games/frogatto/distinfo6
2 files changed, 10 insertions, 9 deletions
diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile
index 365081a49479..a25fc37bb993 100644
--- a/games/frogatto/Makefile
+++ b/games/frogatto/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: Frogatto
+# New ports collection makefile for: Frogatto & Friends
# Date created: 14 Jul 2010
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
@@ -6,8 +6,7 @@
#
PORTNAME= frogatto
-PORTVERSION= 1.0
-PORTREVISION= 2
+PORTVERSION= 1.0.3
CATEGORIES= games
MASTER_SITES= http://www.frogatto.com/files/
@@ -31,8 +30,9 @@ post-patch:
@${REINPLACE_CMD} -E -e 's,(ccache )?g\+\+,$$(CXX) $$(CXXFLAGS),' \
-e 's,-O2,, ; s,-g,, ; s,/usr/X11R6,${LOCALBASE},' \
-e 's,-mt,,g ; /server/s,`.*mixer,${PTHREAD_LIBS},' \
+ -e 's,-L/usr/lib,, ; s,-L/sw/lib,,' \
-e '/server/s,-lX11,,' ${WRKSRC}/Makefile
-# Point to the right location where look for the resources on FreeBSD
+# Point to the right location where to look for resources on FreeBSD
@${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \
-e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp
@${REINPLACE_CMD} -E 's,(music|sounds)/,${DATADIR}/&,' \
@@ -43,8 +43,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/${PORTNAME}-server
cd ${WRKSRC} && ${COPYTREE_SHARE} "data images music sounds" \
${DATADIR}
-# Fix permissions on DATADIR after COPYTREE_SHARE (cpio(1) defaults to 700)
- ${CHMOD} 755 ${DATADIR}
+# Fix permissions on DATADIR after COPYTREE_SHARE (cpio(1) defaults to 700
+# if target directory (${DATADIR}) does not exist)
+ @${CHMOD} 755 ${DATADIR}
# Dynamically generate part of the PLIST for game resources (lots of them)
@${FIND} ${DATADIR} -not -type d | \
${SED} 's,^${PREFIX}/,,' | ${SORT} >> ${TMPPLIST}
diff --git a/games/frogatto/distinfo b/games/frogatto/distinfo
index 2e8e25876d5f..eb620bccd449 100644
--- a/games/frogatto/distinfo
+++ b/games/frogatto/distinfo
@@ -1,3 +1,3 @@
-MD5 (frogatto-1.0.tar.bz2) = 13035e6bf1adbf15b38b9b655d67fcb9
-SHA256 (frogatto-1.0.tar.bz2) = 7a3dab049df8d4cd38a4fa0ab98ea001d5bae1d373d134fbd4e773132fb68c59
-SIZE (frogatto-1.0.tar.bz2) = 136213969
+MD5 (frogatto-1.0.3.tar.bz2) = 1e9ffe729c78c88d1e29147694299531
+SHA256 (frogatto-1.0.3.tar.bz2) = 0f21012fa8c8980de7c030c7de6302671d0fa1036f0fba11cbcfebaa3ceaa269
+SIZE (frogatto-1.0.3.tar.bz2) = 100909023