freebsd-ports/games/hexglass/Makefile
2013-01-23 15:00:18 +00:00

33 lines
812 B
Makefile

# $FreeBSD$
PORTNAME= hexglass
PORTVERSION= 1.2.1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
MAINTAINER= makc@FreeBSD.org
COMMENT= Tetris-like puzzle game based on a hexagonal grid
USE_QT4= gui qmake_build moc_build rcc_build
HAS_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.xpm
DESKTOP_ENTRIES= "HexGlass" "${COMMENT}" \
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
"${PORTNAME}" "BlocksGame;Game;" false
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/resources/logo512x512.xpm \
${PREFIX}/share/pixmaps/${PORTNAME}.xpm
.include <bsd.port.mk>