aboutsummaryrefslogtreecommitdiff
path: root/games/yahtzee/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-06 20:41:41 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-06 20:41:41 +0000
commit57599699ad2fd967b97d3baae82241d84ad053f7 (patch)
treea58b0af9901f7ec48614ce98000932ce753c33ee /games/yahtzee/Makefile
parent5b7ca00e9d5d70675777239bfe5f13cafd71e232 (diff)
downloadports-57599699ad2fd967b97d3baae82241d84ad053f7.tar.gz
ports-57599699ad2fd967b97d3baae82241d84ad053f7.zip
- Fix build on -current
- Utilize DATADIR PR: 59007 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=93250
Diffstat (limited to 'games/yahtzee/Makefile')
-rw-r--r--games/yahtzee/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/games/yahtzee/Makefile b/games/yahtzee/Makefile
index 9c242035f178..8153131ab12c 100644
--- a/games/yahtzee/Makefile
+++ b/games/yahtzee/Makefile
@@ -19,17 +19,11 @@ COMMENT= A curses version of the dice game for one or more players
WRKSRC= ${WRKDIR}/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
# Distribution does not include an install target. So here it is.
#
do-install:
${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/yahtzee ${PREFIX}/bin
- ${MKDIR} -m 0755 ${PREFIX}/share/yahtzee
- ${INSTALL_DATA} -m 0664 -o root -g games /dev/null ${PREFIX}/share/yahtzee/yahtzee.sco
+ ${MKDIR} -m 0755 ${DATADIR}
+ ${INSTALL_DATA} -m 0664 -o root -g games /dev/null ${DATADIR}/yahtzee.sco
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>