blob: 85cd451025e5a8356326f75fa429864ac3b74f37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= crack-attack
PORTVERSION= 1.1.14
PORTREVISION= 14
CATEGORIES= games
MASTER_SITES= SAVANNAH
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= OpenGL game based on Super Nintendo classic Tetris Attack
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>
|