1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/games/heretic/Makefile
Will Andrews 052cf380ee Release to the world all of my ports that I don't use, excluding KDE 1,
which I'm holding for various reasons, so some kind soul can take the time
to fix them without having to wait for me.
2001-01-09 00:06:25 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: glheretic
# Date created: 04 Feb 2000
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
PORTNAME= heretic
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://www.raven-games.com/linuxheretic/heretic/src/ \
http://www.raven-games.com/linuxheretic/wad/
DISTNAME= glheretic-1.0
.if !defined(NO_WAD)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} heretic_share.wad.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
MAINTAINER= ports@FreeBSD.org
FETCH_BEFORE_ARGS+= -b
USE_X_PREFIX= yes
USE_GMAKE= yes
MAKE_ENV= WANT_OGL="no" WANT_OGL_FULLSCREEN="no" WANT_NICE_OGL="no"
.if !defined(NO_WAD)
PLIST= ${PKGDIR}/pkg-plist.nowad
.endif
ALL_TARGET= x11
BINARY= xheretic
.if defined(WANT_FASTX11)
BINARY= xaheretic
ALL_TARGET= fastx11
.endif
do-install:
@${MKDIR} ${PREFIX}/share/heretic
@${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/heretic
.if !defined(NO_WAD)
@${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/heretic_share.wad.gz \
> ${PREFIX}/share/heretic/heretic_share.wad
.endif
.include <bsd.port.mk>