Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 11:18:34 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369814 - head/games/bubbros
Message-ID:  <201410021118.s92BIYE8017700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct  2 11:18:34 2014
New Revision: 369814
URL: https://svnweb.freebsd.org/changeset/ports/369814
QAT: https://qat.redports.org/buildarchive/r369814/

Log:
  - Fix installation and stripping as non-root
  - Drop @dirrm* from plist

Modified:
  head/games/bubbros/Makefile
  head/games/bubbros/pkg-plist

Modified: head/games/bubbros/Makefile
==============================================================================
--- head/games/bubbros/Makefile	Thu Oct  2 11:17:43 2014	(r369813)
+++ head/games/bubbros/Makefile	Thu Oct  2 11:18:34 2014	(r369814)
@@ -16,7 +16,7 @@ LICENSE=	MIT
 RUN_DEPENDS=	${PYGAME}
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
-USE_PYTHON=	yes
+USES=		python
 
 PORTDOCS=	*.html
 OPTIONS_DEFINE=	DOCS
@@ -51,11 +51,13 @@ do-install:
 .endfor
 	${INSTALL_SCRIPT} ${WRKSRC}/BubBob.py ${STAGEDIR}${DATADIR}
 	# build different colors
+	@${FIND} ${STAGEDIR}${DATADIR} -name "*.ppm" -exec chmod u+w {} \;
 	@${PYTHON_CMD} ${STAGEDIR}${DATADIR}/bubbob/images/buildcolors.py
 	${LN} -sf ${DATADIR}/http2/data/bob.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 
 .for l in bubbob/statesaver.so display/xshm.so
+	${CHMOD} u+w ${STAGEDIR}${DATADIR}/${l}
 	${STRIP_CMD} ${STAGEDIR}${DATADIR}/${l}
 .endfor
 

Modified: head/games/bubbros/pkg-plist
==============================================================================
--- head/games/bubbros/pkg-plist	Thu Oct  2 11:17:43 2014	(r369813)
+++ head/games/bubbros/pkg-plist	Thu Oct  2 11:18:34 2014	(r369814)
@@ -450,27 +450,3 @@ man/man1/bb.py.1.gz
 %%DATADIR%%/metaserver/pipelayer.py
 %%DATADIR%%/metaserver/socketoverudp.py
 share/pixmaps/bubbros.png
-@dirrm %%DATADIR%%/bubbob/doc/images
-@dirrm %%DATADIR%%/bubbob/doc
-@dirrm %%DATADIR%%/bubbob/ext1
-@dirrm %%DATADIR%%/bubbob/ext2
-@dirrm %%DATADIR%%/bubbob/ext3
-@dirrm %%DATADIR%%/bubbob/ext4
-@dirrm %%DATADIR%%/bubbob/ext5
-@dirrm %%DATADIR%%/bubbob/ext6
-@dirrm %%DATADIR%%/bubbob/ext7
-@dirrm %%DATADIR%%/bubbob/images
-@dirrm %%DATADIR%%/bubbob/levels
-@dirrm %%DATADIR%%/bubbob/music
-@dirrm %%DATADIR%%/bubbob/sounds
-@dirrm %%DATADIR%%/bubbob/tmp
-@dirrm %%DATADIR%%/bubbob
-@dirrm %%DATADIR%%/common
-@dirrm %%DATADIR%%/display/windows
-@dirrm %%DATADIR%%/display
-@dirrm %%DATADIR%%/http2/data
-@dirrm %%DATADIR%%/http2/sf
-@dirrm %%DATADIR%%/http2
-@dirrm %%DATADIR%%/java
-@dirrm %%DATADIR%%/metaserver
-@dirrm %%DATADIR%%



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