aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-10-30 15:16:48 +0800
committermartymac <martymac@FreeBSD.org>2013-10-30 15:16:48 +0800
commit9ead5913f496d3c805468ef78e77fbad0068a108 (patch)
tree5533f1ec0b5acbb65f27f357a7b929cbb38abfbb /games
parentd0699402f1402deb24f984148b339470aa1bc2a6 (diff)
downloadfreebsd-ports-gnome-9ead5913f496d3c805468ef78e77fbad0068a108.tar.gz
freebsd-ports-gnome-9ead5913f496d3c805468ef78e77fbad0068a108.tar.zst
freebsd-ports-gnome-9ead5913f496d3c805468ef78e77fbad0068a108.zip
- Enable staging
- Switch to new LIB_DEPENDS format - Fix build with Clang
Diffstat (limited to 'games')
-rw-r--r--games/blobby/Makefile10
-rw-r--r--games/blobby/files/patch-src-Clock.h10
2 files changed, 15 insertions, 5 deletions
diff --git a/games/blobby/Makefile b/games/blobby/Makefile
index 109460700029..f16c8a2b4bb4 100644
--- a/games/blobby/Makefile
+++ b/games/blobby/Makefile
@@ -3,6 +3,7 @@
PORTNAME= blobby
PORTVERSION= 1.0r3
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/1.0RC3/
DISTNAME= blobby2-linux-1.0rc3
@@ -12,8 +13,8 @@ COMMENT= Official continuation of the famous Blobby Volley 1.x game
LICENSE= GPLv2
-LIB_DEPENDS= physfs:${PORTSDIR}/devel/physfs \
- drm:${PORTSDIR}/graphics/libdrm
+LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \
+ libdrm.so:${PORTSDIR}/graphics/libdrm
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/include/boost/crc.hpp:${PORTSDIR}/devel/boost-libs
@@ -29,14 +30,13 @@ DOS2UNIX_REGEX= .*\.(c|h|cpp)
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/games/blobby/files/patch-src-Clock.h b/games/blobby/files/patch-src-Clock.h
new file mode 100644
index 000000000000..bbc4f4872dad
--- /dev/null
+++ b/games/blobby/files/patch-src-Clock.h
@@ -0,0 +1,10 @@
+--- src/Clock.h.orig 2013-10-28 17:23:32.000000000 +0100
++++ src/Clock.h 2013-10-28 17:28:11.000000000 +0100
+@@ -19,6 +19,7 @@
+
+ #pragma once
+
++#include <ctime>
+ #include <string>
+
+ /*! \class Clock