aboutsummaryrefslogtreecommitdiffstats
path: root/devel/love07
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-09-04 00:03:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-09-04 00:03:01 +0800
commitf0d11c34bf86c54d853862c57009ccf211577d58 (patch)
tree819969c695cc8f7959710aebeee93ca7388fb803 /devel/love07
parent338a1abbe04a757f7f6bebb03e13f008a543876c (diff)
downloadfreebsd-ports-gnome-f0d11c34bf86c54d853862c57009ccf211577d58.tar.gz
freebsd-ports-gnome-f0d11c34bf86c54d853862c57009ccf211577d58.tar.zst
freebsd-ports-gnome-f0d11c34bf86c54d853862c57009ccf211577d58.zip
- Update to 0.4-0
Diffstat (limited to 'devel/love07')
-rw-r--r--devel/love07/Makefile8
-rw-r--r--devel/love07/distinfo6
-rw-r--r--devel/love07/files/patch-Makefile6
3 files changed, 12 insertions, 8 deletions
diff --git a/devel/love07/Makefile b/devel/love07/Makefile
index c104eafde0c7..8c03eb30e3d2 100644
--- a/devel/love07/Makefile
+++ b/devel/love07/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= love
-DISTVERSION= 0.3-2
+DISTVERSION= 0.4-0
CATEGORIES= games devel
MASTER_SITES= SF
@@ -33,8 +33,12 @@ PLIST_FILES= bin/love lib/liblove.a
PORTDOCS= *
PORTEXAMPLES= *
+post-extract:
+ cd ${WRKSRC} && ${FIND} . -name "*.o" -delete
+
post-patch:
- @${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp
+ @${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \
+ ${WRKSRC}/src/opengl/love_opengl.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/love ${PREFIX}/bin
diff --git a/devel/love07/distinfo b/devel/love07/distinfo
index 911d128600b2..99a43ff681e0 100644
--- a/devel/love07/distinfo
+++ b/devel/love07/distinfo
@@ -1,3 +1,3 @@
-MD5 (love-0.3-2.tar.bz2) = 04baa99ea1f237d87fb6e12a4da3d126
-SHA256 (love-0.3-2.tar.bz2) = d86b424ad7af8078c37ab604c6e20315f538ea95f6d563c8214d3d0505f67bf9
-SIZE (love-0.3-2.tar.bz2) = 885790
+MD5 (love-0.4-0.tar.bz2) = b77ed79c7d2aedc0e7c79c8631db0681
+SHA256 (love-0.4-0.tar.bz2) = 287f0f16ac419fd2339ed5c0eef9123745c3ef9424086a3365b3d2468969156d
+SIZE (love-0.4-0.tar.bz2) = 846487
diff --git a/devel/love07/files/patch-Makefile b/devel/love07/files/patch-Makefile
index e1eb1dcb1c9c..f7243aaff534 100644
--- a/devel/love07/files/patch-Makefile
+++ b/devel/love07/files/patch-Makefile
@@ -1,11 +1,11 @@
---- Makefile.orig 2008-07-04 03:25:34.000000000 +0400
-+++ Makefile 2008-08-01 16:27:46.000000000 +0400
+--- Makefile.orig 2008-08-29 03:42:40.000000000 +0400
++++ Makefile 2008-08-29 18:09:43.000000000 +0400
@@ -3,20 +3,19 @@
# You may need to modify parts of this makefile for your system.
######################################################################
-CC = g++
--CFLAGS = -g -O2 -Wall
+-CFLAGS = -g0 -O3 -Wall
-CFLAGS_MOD = -g0 -O3
+CFLAGS += -Wall
+CFLAGS_MOD = $(CFLAGS)