freebsd-ports/games/hex/Makefile
Steve Price bff4784d93 - Support PREFIX properly
- Remove USE_GMAKE

PR:		21031
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-09-05 01:18:48 +00:00

38 lines
932 B
Makefile

# New ports collection makefile for: Hex
# Date created: 9 Aug 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
PORTNAME= hex
PORTVERSION= 0.0.2
CATEGORIES= games
MASTER_SITES= http://www.nott.ac.uk/~psystrj/ \
http://www.psn.net/~andrews/dist/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib
USE_X_PREFIX= YES
MAKE_ENV= GRAPHICPATH="${GRAPHICPATH}" LEVELPATH="${LEVELPATH}"
GRAPHICPATH= ${PREFIX}/share/hex/graphics
LEVELPATH= ${PREFIX}/share/hex/levels
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hex ${PREFIX}/bin
@${MKDIR} ${GRAPHICPATH}
${INSTALL_DATA} ${WRKSRC}/graphics/*.png ${GRAPHICPATH}
@${MKDIR} ${LEVELPATH}
${INSTALL_DATA} ${WRKSRC}/levels/Level1 ${LEVELPATH}
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/hex
.for file in HISTORY README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hex
.endfor
.endif
.include <bsd.port.mk>