From 355dfb22d5b8c10186ae74ed094fd53ee6a2e847 Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Sun, 26 Jan 2014 21:39:49 +0000 Subject: [PATCH] - Bump PORTREVISION - Change master sites - Disable all warnings with -w - Add icon 128x128, change vamos_icons.tar.gz - Change Desktop entry file - Strip library - Recreate patches with make makepatch --- games/vamos/Makefile | 21 ++++++++++++------- games/vamos/distinfo | 4 ++-- ...arameter.h => patch-geometry__Parameter.h} | 4 ++-- games/vamos/pkg-plist | 1 + 4 files changed, 18 insertions(+), 12 deletions(-) rename games/vamos/files/{patch-geometry-Parameter.h => patch-geometry__Parameter.h} (56%) diff --git a/games/vamos/Makefile b/games/vamos/Makefile index 64284eaf6b5f..e2073c0658f5 100644 --- a/games/vamos/Makefile +++ b/games/vamos/Makefile @@ -3,9 +3,10 @@ PORTNAME= vamos PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons @@ -26,7 +27,7 @@ CONFIGURE_ARGS= ac_cv_lib_freeglut_glutGetModifiers=no \ --disable-unit-tests USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -w LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} INFO= vamos @@ -40,14 +41,14 @@ DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= matrixfaq.htm -INSTALLS_ICONS= yes -ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 - -DESKTOP_ENTRIES="Vamos" "${COMMENT}" ${PORTNAME} \ - "${PORTNAME}" "Game;ArcadeGame;" false - OPTIONS_DEFINE= DOCS +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 + +DESKTOP_ENTRIES="Vamos" "" ${PORTNAME} \ + "${PORTNAME}" "Game;ArcadeGame;" "" + post-extract: @${CHMOD} ${BINMODE} ${WRKSRC}/config/install-sh @@ -60,6 +61,10 @@ post-patch: /^AM_CXXFLAGS/s| -L/usr/lib/boost||' post-install: +.for l in geometry media body track world + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvamos-${l}.so.0 +.endfor + .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ diff --git a/games/vamos/distinfo b/games/vamos/distinfo index 74f0fc0074e2..09ba84d80f94 100644 --- a/games/vamos/distinfo +++ b/games/vamos/distinfo @@ -1,4 +1,4 @@ SHA256 (vamos-0.7.1.tar.gz) = c81930b5ea376431c0abf868bf23153440eb6c44c1c47e3d9a53a5a15ab35824 SIZE (vamos-0.7.1.tar.gz) = 1681074 -SHA256 (vamos_icons.tar.gz) = 52bc6a4fea63c8a23a76b059ee942dda6738483e04d1e5afb10a8184f875f803 -SIZE (vamos_icons.tar.gz) = 15360 +SHA256 (vamos_icons.tar.gz) = fea7c87be02480eef7253e7ad98b82ec5b28d6fd6523427a83cf5595e8a9ccee +SIZE (vamos_icons.tar.gz) = 15765 diff --git a/games/vamos/files/patch-geometry-Parameter.h b/games/vamos/files/patch-geometry__Parameter.h similarity index 56% rename from games/vamos/files/patch-geometry-Parameter.h rename to games/vamos/files/patch-geometry__Parameter.h index b12eb71cf723..3c85dee8a569 100644 --- a/games/vamos/files/patch-geometry-Parameter.h +++ b/games/vamos/files/patch-geometry__Parameter.h @@ -1,5 +1,5 @@ ---- geometry/Parameter.h.orig 2011-08-28 20:54:18.000000000 +0200 -+++ geometry/Parameter.h 2013-09-19 23:10:49.000000000 +0200 +--- ./geometry/Parameter.h.orig 2011-08-28 21:10:15.000000000 +0200 ++++ ./geometry/Parameter.h 2014-01-26 19:15:00.000000000 +0100 @@ -21,6 +21,7 @@ #define PARAMETER_H diff --git a/games/vamos/pkg-plist b/games/vamos/pkg-plist index 0c671649f9d7..e45d281c223b 100644 --- a/games/vamos/pkg-plist +++ b/games/vamos/pkg-plist @@ -71,6 +71,7 @@ lib/libvamos-world.a lib/libvamos-world.la lib/libvamos-world.so lib/libvamos-world.so.0 +share/icons/hicolor/128x128/apps/vamos.png share/icons/hicolor/32x32/apps/vamos.png share/icons/hicolor/48x48/apps/vamos.png share/icons/hicolor/64x64/apps/vamos.png