blob: 540d71a3c66955d5ca04492b6abb4063b050ee19 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# New ports collection makefile for: nehquake
# Date created: 16 May 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= nehquake
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= alepulver
DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
USE_BZIP2= yes
USE_DOS2UNIX= yes
USE_GL= gl
USE_XORG= xxf86dga
USE_GMAKE= yes
OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on \
SDL "Build SDL client" on \
X86_ASM "Enable x86 assembly code" on
ALL_TARGET= release
SUB_FILES= pkg-message
.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.pre.mk>
.for f in OPTIMIZED_CFLAGS X86_ASM
. if !defined(WITHOUT_${f})
MAKE_ENV+= USE_${f}=YES
. else
MAKE_ENV+= USE_${f}=NO
. endif
.endfor
.if !defined(WITHOUT_SDL)
USE_SDL= sdl
MAKE_ENV+= BUILD_SDL=YES
PLIST_SUB+= SDL=""
.else
PLIST_SUB+= SDL="@comment "
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra ${PREFIX}/bin
.if !defined(WITHOUT_SDL)
${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra-sdl ${PREFIX}/bin
.endif
${MKDIR} ${Q1DIR}/nehahra
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>
|