Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2014 12:22:50 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372186 - in head/games/toppler: . files
Message-ID:  <201411051222.sA5CMovH042908@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Wed Nov  5 12:22:49 2014
New Revision: 372186
URL: https://svnweb.freebsd.org/changeset/ports/372186
QAT: https://qat.redports.org/buildarchive/r372186/

Log:
  games/toppler:
  - fix permission for binary and high score file
  - drop deprecated keywords from plist

Modified:
  head/games/toppler/Makefile
  head/games/toppler/files/patch-Makefile.in
  head/games/toppler/pkg-plist

Modified: head/games/toppler/Makefile
==============================================================================
--- head/games/toppler/Makefile	Wed Nov  5 11:44:22 2014	(r372185)
+++ head/games/toppler/Makefile	Wed Nov  5 12:22:49 2014	(r372186)
@@ -3,7 +3,7 @@
 
 PORTNAME=	toppler
 PORTVERSION=	1.1.5
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
@@ -22,4 +22,9 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	DOCS
 
+SCOREFILE=	/var/games/toppler/toppler.hsc
+
+post-install:
+	${MV} ${STAGEDIR}${SCOREFILE} ${STAGEDIR}${SCOREFILE}.sample
+
 .include <bsd.port.mk>

Modified: head/games/toppler/files/patch-Makefile.in
==============================================================================
--- head/games/toppler/files/patch-Makefile.in	Wed Nov  5 11:44:22 2014	(r372185)
+++ head/games/toppler/files/patch-Makefile.in	Wed Nov  5 12:22:49 2014	(r372186)
@@ -1,5 +1,5 @@
---- ./Makefile.in.orig	2011-03-06 20:00:43.000000000 +0000
-+++ ./Makefile.in	2013-10-23 16:58:33.155503773 +0000
+--- Makefile.in.orig	2011-03-06 20:00:43 UTC
++++ Makefile.in
 @@ -359,7 +359,7 @@
  dist_pixmaps_DATA = $(PACKAGE).xpm
  applications_DATA = $(PACKAGE).desktop
@@ -9,12 +9,9 @@
  dist_pkgdata_DATA = \
    toppler.dat toppler.ogg \
    m1.ttm m2.ttm ball1.ttm ball2.ttm ball3.ttm abc.ttm pasi2.ttm david1.ttm
-@@ -1084,16 +1084,14 @@
- 
- install-data-am: install-applicationsDATA install-dist_pixmapsDATA \
+@@ -1086,14 +1086,12 @@
  	install-dist_pkgdataDATA install-dist_pkgdocDATA \
--	install-dist_pkglocalstateDATA install-man
-+	install-man
+ 	install-dist_pkglocalstateDATA install-man
  	@$(NORMAL_INSTALL)
 -	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
  install-dvi: install-dvi-recursive

Modified: head/games/toppler/pkg-plist
==============================================================================
--- head/games/toppler/pkg-plist	Wed Nov  5 11:44:22 2014	(r372185)
+++ head/games/toppler/pkg-plist	Wed Nov  5 12:22:49 2014	(r372186)
@@ -1,4 +1,4 @@
-bin/toppler
+@(,games,2555) bin/toppler
 man/man6/toppler.6.gz
 share/applications/toppler.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
@@ -23,10 +23,5 @@ share/pixmaps/toppler.xpm
 %%DATADIR%%/pasi2.ttm
 %%DATADIR%%/toppler.dat
 %%DATADIR%%/toppler.ogg
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@exec mkdir -p /var/games/toppler
-@exec chgrp games /var/games/toppler
-@unexec if [ ! -s /var/games/toppler/toppler.hsc ] ; then rm -f /var/games/toppler/toppler.hsc; rmdir /var/games/toppler ; fi
-@exec touch /var/games/toppler/toppler.hsc
-@exec chmod 664 /var/games/toppler/toppler.hsc
+@sample(,games,664) /var/games/toppler/toppler.hsc.sample
+@dir(,games,775) /var/games/toppler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411051222.sA5CMovH042908>