aboutsummaryrefslogtreecommitdiffstats
path: root/games/wmquake/Makefile
blob: 1f0c80c12d5e45d581fe58e5bf78479bcca2f6e3 (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
39
40
# New ports collection makefile for:    games/wmquake
# Date created:             17.01.2005
# Whom:                 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= uqs@FreeBSD.org
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>