1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/rocksndiamonds/Makefile
Satoshi Asami 2971a93e52 Convert to PORTNAME/PORTVERSION. The following ports hand invalid version
strings so I fixed them: quakeforge, netrek-BRMH, netrek-COW3, tetrinet-x and
xnibbles.
2000-04-14 12:28:40 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: rocksndiamonds
# Date created: 27 May 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rocksndiamonds
PORTVERSION= 1.4.0
CATEGORIES= games
MASTER_SITES= http://www.artsoft.org/rocksndiamonds/RELEASES/ \
${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
MAINTAINER= mwest@uct.ac.za
USE_XLIB= yes
USE_GMAKE= yes
MAKE_ENV+= RO_GAME_DIR=${GAME_DIR} RW_GAME_DIR=${GAME_DIR}/scores \
X11_PATH=${X11BASE} OPTIONS="${CFLAGS}"
.if ${MACHINE_ARCH} == "alpha"
MAKE_ENV+= JOYSTICK="-DNO_JOYSTICK"
.endif
GAME_DIR=${PREFIX}/share/rocksndiamonds
DOC_DIR=${PREFIX}/share/doc/rocksndiamonds
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin
@${MKDIR} ${GAME_DIR}
@cd ${WRKSRC}; tar cpf - graphics levels scores sounds | \
(cd ${GAME_DIR}; tar xpf -)
@${CHMOD} 777 ${GAME_DIR}/scores
.if !defined(NOPPORTDOCS)
@${MKDIR} ${DOC_DIR}
.for docfile in CHANGES CREDITS HARDWARE README TODO
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOC_DIR}
.endfor
.endif
.include <bsd.port.mk>