aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-25 20:21:31 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-25 20:21:31 +0800
commit7be129467d1206ae19952868faa8a15c5eba8f1d (patch)
tree7692a71667be799f09f8a46760e0637f3f17162d /games
parent58080eb79508b9f17544712ef1b08ae7c369322d (diff)
downloadfreebsd-ports-gnome-7be129467d1206ae19952868faa8a15c5eba8f1d.tar.gz
freebsd-ports-gnome-7be129467d1206ae19952868faa8a15c5eba8f1d.tar.zst
freebsd-ports-gnome-7be129467d1206ae19952868faa8a15c5eba8f1d.zip
upgrade to 0.3
PR: 36292 Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r--games/kpuzzle/Makefile25
-rw-r--r--games/kpuzzle/distinfo2
-rw-r--r--games/kpuzzle/pkg-descr2
-rw-r--r--games/kpuzzle/pkg-plist4
4 files changed, 19 insertions, 14 deletions
diff --git a/games/kpuzzle/Makefile b/games/kpuzzle/Makefile
index b08908e32202..4fd77c7eb884 100644
--- a/games/kpuzzle/Makefile
+++ b/games/kpuzzle/Makefile
@@ -5,22 +5,23 @@
# $FreeBSD$
#
-PORTNAME= kpuzzle
-PORTVERSION= 0.2
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= unstable/apps/games
-
+PORTNAME= kpuzzle
+PORTVERSION= 0.3
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= unstable/apps/KDE2.x/games
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext-old
-
-USE_KDELIBS_VER=2
-USE_AUTOCONF= yes
+USE_KDELIBS_VER= 2
USE_BZIP2= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
-pre-configure:
- ${PERL} -pi -e "s@default@en@g" ${WRKSRC}/kpuzzle/doc/en/Makefile.in
+post-patch:
+ @${PERL} -pi -e 's|-O2||g' ${WRKSRC}/configure
+.for file in highscore.cpp kpuzzleapp.cpp
+ @${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/kpuzzle/${file}
+.endfor
+ @${PERL} -pi -e 's|default|en|g' ${WRKSRC}/kpuzzle/doc/en/Makefile.in
.include <bsd.port.mk>
diff --git a/games/kpuzzle/distinfo b/games/kpuzzle/distinfo
index 25ea9c982895..99f76405fafd 100644
--- a/games/kpuzzle/distinfo
+++ b/games/kpuzzle/distinfo
@@ -1 +1 @@
-MD5 (kpuzzle-0.2.tar.bz2) = a61b6b93b10fb7021c44dae64e0623f3
+MD5 (kpuzzle-0.3.tar.bz2) = 8a56012312e76f2a196f53d958340006
diff --git a/games/kpuzzle/pkg-descr b/games/kpuzzle/pkg-descr
index 1a0ad8288eee..8684ba1613dc 100644
--- a/games/kpuzzle/pkg-descr
+++ b/games/kpuzzle/pkg-descr
@@ -1 +1,3 @@
This is a jigsaw puzzle game for KDE.
+
+WWW: http://home.t-online.de/home/mwand/kpuzzle/
diff --git a/games/kpuzzle/pkg-plist b/games/kpuzzle/pkg-plist
index 6279bb867e9f..87830114a2b6 100644
--- a/games/kpuzzle/pkg-plist
+++ b/games/kpuzzle/pkg-plist
@@ -1,5 +1,6 @@
bin/kpuzzle
share/applnk/Games/kpuzzle.desktop
+share/apps/kpuzzle/data/background.bmp
share/apps/kpuzzle/data/biglogo.bmp
share/apps/kpuzzle/data/large-main.xpm
share/apps/kpuzzle/data/large.xpm
@@ -37,6 +38,7 @@ share/apps/kpuzzle/levels/plants.bmp
share/apps/kpuzzle/levels/raum.bmp
share/apps/kpuzzle/levels/stadt.bmp
share/apps/kpuzzle/levels/stars.bmp
+share/doc/HTML/de/kpuzzle
share/doc/HTML/en/kpuzzle/common
share/doc/HTML/en/kpuzzle/cont-1.html
share/doc/HTML/en/kpuzzle/cont-2.html
@@ -47,5 +49,5 @@ share/doc/HTML/en/kpuzzle/index.html
share/doc/HTML/en/kpuzzle/scr_1.png
share/icons/locolor/16x16/apps/kpuzzle.png
share/icons/locolor/32x32/apps/kpuzzle.png
-share/locale/de/LC_MESSAGES/de.mo
+share/locale/de/LC_MESSAGES/kpuzzle.mo
@dirrm share/doc/HTML/en/kpuzzle