aboutsummaryrefslogtreecommitdiffstats
path: root/games/wmquake/Makefile
blob: 2f073f1fccaa75d8267e974d001318c8a57a541e (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
# Created by: Ulrich Spoerlein <uspoerlein@gmail.com>
# $FreeBSD$

PORTNAME=   wmquake
PORTVERSION=    1.1
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://www.ne.jp/asahi/linux/timecop/software/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= uqs

MAINTAINER= ports@FreeBSD.org
COMMENT=    Id Software\'s Quake I in a 64x64 WM dockapp window

USES=       gmake tar:bzip2
USE_GNOME=  gtk12

PLIST_FILES=    bin/wmquake

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

NO_STAGE=   yes
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>