mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
d932eda697
supports X11 library graphics. I will fix it later to allow the use of OpenGL/Mesa well as the other libraries that Heretic has been ported to work with in the Unix world. PR: 17194
40 lines
980 B
Makefile
40 lines
980 B
Makefile
# New ports collection makefile for: glheretic
|
|
# Version required: 1.0
|
|
# Date created: 04 Feb 2000
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= glheretic-1.0
|
|
PKGNAME= heretic-1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.raven-games.com/linuxheretic/heretic/src/ \
|
|
http://www.raven-games.com/linuxheretic/wad/
|
|
.if !defined(NO_WAD)
|
|
DISTFILES+= heretic_share.wad.gz
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
MAINTAINER= will@FreeBSD.org
|
|
|
|
FETCH_BEFORE_ARGS+= -b
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= fastx11
|
|
MAKE_ENV= WANT_OGL="no" WANT_OGL_FULLSCREEN="no" WANT_NICE_OGL="no"
|
|
BINARY= xaheretic
|
|
.if !defined(NO_WAD)
|
|
PLIST= ${PKGDIR}/PLIST.nowad
|
|
.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>
|