freebsd-ports/games/prboom/Makefile
Kris Kennaway 50a80bb849 Update to prboom 2.2.2 and respect CFLAGS
Reviewed by:	maintainer
2001-11-11 23:20:02 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: prboom
# Date created: 10 June 2001
# Whom: Jordan DeLong <fracture@allusion.net>
#
# $FreeBSD$
#
PORTNAME= prboom
PORTVERSION= 2.2.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= fracture@allusion.net
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
smpeg.1:${PORTSDIR}/graphics/smpeg \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_net.0:${PORTSDIR}/net/sdl_net
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CFLAGS+="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN5= boom.cfg.5
MAN6= prboom.6 prboom-game-server.6
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/prboom
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/prboom
${INSTALL_DATA} ${WRKSRC}/doc/README.compat ${PREFIX}/share/doc/prboom
${INSTALL_DATA} ${WRKSRC}/doc/README.demos ${PREFIX}/share/doc/prboom
${INSTALL_DATA} ${WRKSRC}/doc/boom.txt ${PREFIX}/share/doc/prboom
.endif
.include <bsd.port.mk>