mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
38 lines
945 B
Makefile
38 lines
945 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.earth.li/projectpurple/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Clone of "Puzzle Bobble" for X11 that uses GTK/Imlib
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= imlib
|
|
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>
|