aboutsummaryrefslogtreecommitdiff
path: root/games/trackballs/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-18 16:46:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-18 16:46:05 +0000
commit92b73131f885804ba85b61372cba9f17145d4048 (patch)
tree952a3d2cc89c10f6ba9642b3dbea55d5c04445db /games/trackballs/Makefile
parent22c44b7be41bf6c6d775d53c72a4047b2535e732 (diff)
downloadports-92b73131f885804ba85b61372cba9f17145d4048.tar.gz
ports-92b73131f885804ba85b61372cba9f17145d4048.zip
Fix build as a user.
Use options helpers. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=403979
Diffstat (limited to 'games/trackballs/Makefile')
-rw-r--r--games/trackballs/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile
index a5a452a561b0..eda0710f78ef 100644
--- a/games/trackballs/Makefile
+++ b/games/trackballs/Makefile
@@ -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>