- Fix installation and stripping as non-root

- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2014-10-02 11:18:34 +00:00
parent d5ac37ec5d
commit 4c4c9629af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369814
2 changed files with 3 additions and 25 deletions

View File

@ -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

View File

@ -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%%