aboutsummaryrefslogtreecommitdiff
path: root/games/kpuzzle
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 12:21:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 12:21:31 +0000
commit48e6446c94fadcf6350b62b8577eafbd6df3dc27 (patch)
treee82fb226e8e3b7e58aa1b04a76190439b4099f97 /games/kpuzzle
parent0ead0d3ddfbfe6196f8e636bcaf5445bd913dc52 (diff)
downloadports-48e6446c94fadcf6350b62b8577eafbd6df3dc27.tar.gz
ports-48e6446c94fadcf6350b62b8577eafbd6df3dc27.zip
Notes
Diffstat (limited to 'games/kpuzzle')
-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