aboutsummaryrefslogtreecommitdiffstats
path: root/games/toppler
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-28 06:04:27 +0800
committermiwi <miwi@FreeBSD.org>2007-10-28 06:04:27 +0800
commit0d9e22a94904f0fb8f45581486287f51bfe54f21 (patch)
tree9b7a79fa00b736356e80e545bb2324ea083e7f26 /games/toppler
parent09f20a9dc3edb408e23bcf442e37d278901cfd22 (diff)
downloadfreebsd-ports-gnome-0d9e22a94904f0fb8f45581486287f51bfe54f21.tar.gz
freebsd-ports-gnome-0d9e22a94904f0fb8f45581486287f51bfe54f21.tar.zst
freebsd-ports-gnome-0d9e22a94904f0fb8f45581486287f51bfe54f21.zip
- Update to 1.1.3
PR: 117496 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games/toppler')
-rw-r--r--games/toppler/Makefile26
-rw-r--r--games/toppler/distinfo6
-rw-r--r--games/toppler/pkg-plist36
3 files changed, 46 insertions, 22 deletions
diff --git a/games/toppler/Makefile b/games/toppler/Makefile
index 0ce677f49e94..d2d646bd2317 100644
--- a/games/toppler/Makefile
+++ b/games/toppler/Makefile
@@ -6,27 +6,35 @@
#
PORTNAME= toppler
-PORTVERSION= 1.1.1
-PORTREVISION= 2
+PORTVERSION= 1.1.3
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= toppler
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A game where you have to climb the tower and avoid the monsters
-GNU_CONFIGURE= yes
+USE_GNOME= gnometarget
+USE_SDL= mixer sdl
USE_GETTEXT= yes
USE_GMAKE= yes
-USE_SDL= mixer sdl
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- LIBS="-lintl"
-CONFIGURE_ARGS= --program-transform-name= --localstatedir=/var/games
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=/var/games
MAN6= toppler.6
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|DATA install-dist_pkgdocDATA|DATA|g' ${WRKSRC}/Makefile.in
+
post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog NEWS README
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
@${CHOWN} root:games ${PREFIX}/bin/toppler
@${CHMOD} g+s ${PREFIX}/bin/toppler
@${SETENV} "PKG_PREFIX=${PREFIX}" \
diff --git a/games/toppler/distinfo b/games/toppler/distinfo
index d2dd930a914c..ea5b9a6bf47d 100644
--- a/games/toppler/distinfo
+++ b/games/toppler/distinfo
@@ -1,3 +1,3 @@
-MD5 (toppler-1.1.1.tar.gz) = 913fe90fcb15f3d6a12d5194a0db2b7d
-SHA256 (toppler-1.1.1.tar.gz) = b970379b7c7cb43c935da96275dc46050523551b256cf8e188fad6898aaabaa7
-SIZE (toppler-1.1.1.tar.gz) = 1168116
+MD5 (toppler-1.1.3.tar.gz) = 15ee44094e6a4e2a4f5f9b661f3fb617
+SHA256 (toppler-1.1.3.tar.gz) = 5db9cff3fe39007e9a80c3b27acfb86692641f2b0de118ef1d5e24ebd35d438b
+SIZE (toppler-1.1.3.tar.gz) = 2085343
diff --git a/games/toppler/pkg-plist b/games/toppler/pkg-plist
index 17b7fe9d23d6..72308e411f7d 100644
--- a/games/toppler/pkg-plist
+++ b/games/toppler/pkg-plist
@@ -1,14 +1,30 @@
bin/toppler
+share/applications/toppler.desktop
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/cz/LC_MESSAGES/toppler.mo
share/locale/de/LC_MESSAGES/toppler.mo
+share/locale/eu/LC_MESSAGES/toppler.mo
share/locale/fi/LC_MESSAGES/toppler.mo
share/locale/fr/LC_MESSAGES/toppler.mo
-share/toppler/abc.ttm
-share/toppler/ball1.ttm
-share/toppler/ball2.ttm
-share/toppler/ball3.ttm
-share/toppler/m1.ttm
-share/toppler/m2.ttm
-share/toppler/pasi2.ttm
-share/toppler/toppler.dat
-share/toppler/toppler.xpm
-@dirrm share/toppler
+share/locale/pt/LC_MESSAGES/toppler.mo
+share/locale/ro/LC_MESSAGES/toppler.mo
+share/locale/sv/LC_MESSAGES/toppler.mo
+share/pixmaps/toppler.xpm
+%%DATADIR%%/abc.ttm
+%%DATADIR%%/ball1.ttm
+%%DATADIR%%/ball2.ttm
+%%DATADIR%%/ball3.ttm
+%%DATADIR%%/david1.ttm
+%%DATADIR%%/m1.ttm
+%%DATADIR%%/m2.ttm
+%%DATADIR%%/pasi2.ttm
+%%DATADIR%%/toppler.dat
+%%DATADIR%%/toppler.ogg
+@dirrm %%DATADIR%%
+@dirrmtry share/locale/cz/LC_MESSAGES
+@dirrmtry share/locale/cz
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications