diff options
author | krion <krion@FreeBSD.org> | 2003-09-05 09:06:04 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-09-05 09:06:04 +0000 |
commit | 771b3f41eef14a81c234fc16970d7733fbf805f4 (patch) | |
tree | ca16e6a9302fb2ca37796f0e7ddbbb972069ada0 /games | |
parent | f0322441d7f338435d1c265efa2ed44a0c8c3030 (diff) | |
download | FreeBSD-ports-771b3f41eef14a81c234fc16970d7733fbf805f4.zip FreeBSD-ports-771b3f41eef14a81c234fc16970d7733fbf805f4.tar.gz |
- Silence GCC warnings on 5.x (missing \n at EOF)
- Change bogus SED statement
- Don't grumble about disabling x86 asm on non-i386
hardware, since obviously it won't be used anyway
- Pet portlint
PR: 56453
Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/fuhquake/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/games/fuhquake/Makefile b/games/fuhquake/Makefile index a6334e6..15d8e05 100644 --- a/games/fuhquake/Makefile +++ b/games/fuhquake/Makefile @@ -16,6 +16,10 @@ DISTNAME= ${PORTNAME}-source-v${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \ ${PORTNAME}-linux-v${PORTVERSION}${EXTRACT_SUFX}:dat \ pak0.pak:pak + +MAINTAINER= danfe@regency.nsu.ru +COMMENT= An excellent QuakeWorld client + .if defined(WITH_SHAREWARE_DATA) DISTFILES+= q1-shareware-pak0.pak:pak PLIST_SUB+= SHAREWARE="" @@ -26,9 +30,6 @@ PLIST_SUB+= SHAREWARE="@comment " EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-linux-v${PORTVERSION}${EXTRACT_SUFX} -MAINTAINER= danfe@regency.nsu.ru -COMMENT= An excellent QuakeWorld client - .if exists(${LOCALBASE}/lib/libvga.so.1) WITH_SVGA= yes .endif @@ -91,7 +92,7 @@ pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options" .endif -.if !defined(WITHOUT_X86_ASM) +.if ${MACHINE_ARCH} == "i386" && !defined(WITHOUT_X86_ASM) @${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code" .endif @@ -106,6 +107,12 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|%%%%BASEDIR%%%%|${DATADIR}|' ${WRKSRC}/common.c +.for file in cmd.h common.h render.h console.h quakedef.h cvar.h cvar_groups.h \ + fmod.h config_manager.h auth.h logging.h ignore.h fchecks.h rulesets.h \ + modules.h mp3_player.h r_local.h movie.c logging.c quotes.h zone.c \ + gl_local.h gl_image.h gl_warp_sin.h + @${ECHO_CMD} "" >> ${WRKSRC}/${file} +.endfor do-build: .if !defined(WITHOUT_X11) @@ -143,6 +150,6 @@ do-install: .endif post-install: - @${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${PKGMESSAGE} + @${SED} -e 's|$${DATADIR}|${DATADIR}|g' ${PKGMESSAGE} .include <bsd.port.mk> |