Date: Fri, 18 Dec 2015 16:46:05 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403979 - in head/games/trackballs: . files Message-ID: <201512181646.tBIGk5of049871@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Fri Dec 18 16:46:05 2015 New Revision: 403979 URL: https://svnweb.freebsd.org/changeset/ports/403979 Log: Fix build as a user. Use options helpers. Sponsored by: Absolight Added: head/games/trackballs/files/patch-share_Makefile.in (contents, props changed) Modified: head/games/trackballs/Makefile head/games/trackballs/pkg-plist Modified: head/games/trackballs/Makefile ============================================================================== --- head/games/trackballs/Makefile Fri Dec 18 16:46:00 2015 (r403978) +++ head/games/trackballs/Makefile Fri Dec 18 16:46:05 2015 (r403979) @@ -35,16 +35,14 @@ MUSIC_DESC= Install additional music NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \ ${WRKSRC}/share/Makefile.in -post-install: -.if ${PORT_OPTIONS:MMUSIC} +post-install-MUSIC-on: ${INSTALL_DATA} ${WRKDIR}/trackballs-music/*.ogg ${STAGEDIR}${DATADIR}/music/ -.endif + +post-install: ${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}-48x48.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include <bsd.port.mk> Added: head/games/trackballs/files/patch-share_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trackballs/files/patch-share_Makefile.in Fri Dec 18 16:46:05 2015 (r403979) @@ -0,0 +1,11 @@ +--- share/Makefile.in.orig 2015-12-18 16:12:01 UTC ++++ share/Makefile.in +@@ -567,7 +567,7 @@ uninstall-man: uninstall-man6 + + + install-pkgdataDATA: +- -install -D -m664 -g games highScores $(DESTDIR)@with_highscores@ ++ -install -D highScores $(DESTDIR)@with_highscores@ + -chgrp -R games $(DESTDIR)$(pkgdatadir)/levels + chmod -R g+r $(DESTDIR)$(pkgdatadir)/levels + # Tell versions [3.59,3.63) of GNU make to not export all variables. Modified: head/games/trackballs/pkg-plist ============================================================================== --- head/games/trackballs/pkg-plist Fri Dec 18 16:46:00 2015 (r403978) +++ head/games/trackballs/pkg-plist Fri Dec 18 16:46:05 2015 (r403979) @@ -15,7 +15,7 @@ share/pixmaps/trackballs.png %%DATADIR%%/customizing.html %%DATADIR%%/examples.html %%DATADIR%%/fonts/menuFont.ttf -%%DATADIR%%/highScores +@(,games,664) %%DATADIR%%/highScores %%DATADIR%%/images/acid.png %%DATADIR%%/images/difficulty0.png %%DATADIR%%/images/difficulty0High.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512181646.tBIGk5of049871>