1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/nehquake/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

64 lines
1.2 KiB
Makefile

# New ports collection makefile for: nehquake
# Date created: 16 May 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= nehquake
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://qudos.quakedev.com/linux/quake1/
DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
USE_BZIP2= yes
USE_DOS2UNIX= yes
USE_GCC= 3.2+
USE_GL= yes
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>