aboutsummaryrefslogtreecommitdiffstats
path: root/games/wmquake/Makefile
blob: 9425776e3358aefd8cea0e5d23d9e7ff1ae0ca35 (plain) (blame)
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
# New ports collection makefile for:    games/wmquake
# Date created:             17.01.2005
# Whom:                 Ulrich Spoerlein <q@uni.de>
#
# $FreeBSD$
#

PORTNAME=   wmquake
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://www.ne.jp/asahi/linux/timecop/software/

MAINTAINER= uspoerlein@gmail.com
COMMENT=    Id Software\'s Quake I in a 64x64 WM dockapp window

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk12

PLIST_FILES=    bin/wmquake

.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+=    -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
.endif

pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
    @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable aggressive optimizations"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${PREFIX}/bin

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>