svn commit: r349689 - in head/games/gtktetcolor: . files
Rusmir Dusko
nemysis at FreeBSD.org
Sun Mar 30 22:12:05 UTC 2014
Author: nemysis
Date: Sun Mar 30 22:12:04 2014
New Revision: 349689
URL: http://svnweb.freebsd.org/changeset/ports/349689
QAT: https://qat.redports.org/buildarchive/r349689/
Log:
- Bump PORTREVISION for dependencies changes
- Use tar:bzip2 instead of USE_BZIP2=yes
- Add dependency for textproc/p5-XML-Parser, remove for desktop-file-utils
- Remove TODO from DOCS
- Use patch instead of REINPLACE, remove setuid executable and change
group to games
- Break lines around 80 characters
- Change pkg-descr, change WWW to WayBack
Added:
head/games/gtktetcolor/files/
head/games/gtktetcolor/files/patch-Makefile.in (contents, props changed)
Modified:
head/games/gtktetcolor/Makefile
head/games/gtktetcolor/pkg-descr
Modified: head/games/gtktetcolor/Makefile
==============================================================================
--- head/games/gtktetcolor/Makefile Sun Mar 30 22:11:50 2014 (r349688)
+++ head/games/gtktetcolor/Makefile Sun Mar 30 22:12:04 2014 (r349689)
@@ -3,6 +3,7 @@
PORTNAME= gtktetcolor
DISTVERSION= 0.6.5pre3
+PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ftp://canopus.iacp.dvo.ru/pub/Games/gtktetcolor/ \
SF/nemysisfreebsdp/games/${PORTNAME}/:icons
@@ -16,15 +17,16 @@ COMMENT= Game for GNOME that resembles w
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_BZIP2= yes
-USES= desktop-file-utils gmake pathfix pkgconfig
+BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+
+USES= gmake pathfix pkgconfig tar:bzip2
USE_GNOME= gnomeprefix intlhack libgnomeui
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= AUTHORS ChangeLog NEWS README TODO
+PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
@@ -34,10 +36,6 @@ NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} \
- -e 's|games.games|root.games|' \
- -e 's|scoredir = $$(localstatedir)/games|scoredir = /var/games|' \
- ${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
@${REINPLACE_CMD} -e 's|^Icon.*|Icon=${PORTNAME}|' \
@@ -48,7 +46,8 @@ post-patch:
.endif
post-install:
- ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Added: head/games/gtktetcolor/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/gtktetcolor/files/patch-Makefile.in Sun Mar 30 22:12:04 2014 (r349689)
@@ -0,0 +1,21 @@
+--- ./Makefile.in.orig 2014-03-30 22:32:54.917825473 +0200
++++ ./Makefile.in 2014-03-30 22:38:32.398257484 +0200
+@@ -218,7 +218,7 @@
+
+ @use_gnome_TRUE at soundlist_DATA = gtktetcolor.soundlist
+ @use_gnome_TRUE at soundlistdir = $(sysconfdir)/sound/events
+- at use_gnome_TRUE@scoredir = $(localstatedir)/games
++ at use_gnome_TRUE@scoredir = /var/games
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+@@ -671,9 +671,7 @@
+ @use_gnome_TRUE at install-data-local:
+ @use_gnome_TRUE@ -$(mkinstalldirs) $(DESTDIR)$(scoredir)
+ @use_gnome_TRUE@ touch $(DESTDIR)$(scoredir)/gtktetcolor.scores
+- at use_gnome_TRUE@ -chown games.games $(DESTDIR)$(scoredir)/gtktetcolor.scores
+ @use_gnome_TRUE@ -chmod 664 $(DESTDIR)$(scoredir)/gtktetcolor.scores
+- at use_gnome_TRUE@ -chgrp games $(DESTDIR)$(bindir)/gtktetcolor && chmod 2111 $(DESTDIR)$(bindir)/gtktetcolor
+ @use_gnome_FALSE at install-score:
+ @use_gnome_FALSE@ cd ./src && $(MAKE) $(AM_MAKEFLAGS) install-score
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
Modified: head/games/gtktetcolor/pkg-descr
==============================================================================
--- head/games/gtktetcolor/pkg-descr Sun Mar 30 22:11:50 2014 (r349688)
+++ head/games/gtktetcolor/pkg-descr Sun Mar 30 22:12:04 2014 (r349689)
@@ -4,6 +4,6 @@ fall. After block landing the sequence o
vertically or diagonally having matching colors is removed and the above blocks
will collapse. If two or more sequences will be removed simultaneously the
player has got bonus points. The game will be over when new block cannot be
-placed on screen.
+placed on screen.
-WWW: http://canopus.iacp.dvo.ru/~panov/gtktetcolor/
+WWW: https://web.archive.org/web/20080409165301/http://canopus.iacp.dvo.ru/~panov/gtktetcolor/
More information about the svn-ports-head
mailing list