freebsd-ports/games/crack-attack/Makefile

40 lines
816 B
Makefile
Raw Normal View History

2013-09-03 08:36:41 +02:00
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= crack-attack
PORTVERSION= 1.1.14
PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= SAVANNAH
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= OpenGL game based on Super Nintendo classic Tetris Attack
2013-09-03 08:36:41 +02:00
USES= pkgconfig
USE_XORG= x11 xi xmu sm ice
USE_GL= glut
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/pixmaps/${PORTNAME}.xpm
PORTDATA= *
DESKTOP_ENTRIES="Crack Attack!" \
"${COMMENT}" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
post-patch:
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
post-install:
${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>