e2e4efb80a
- While here switch to options helper PR: 205533 [1] Submitted by: Kyle Evans
34 lines
780 B
Makefile
34 lines
780 B
Makefile
# Created by: Christian Brueffer <chris@unixpages.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bsp
|
|
PORTVERSION= 5.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://games.moria.org.uk/doom/bsp/download/ \
|
|
http://files.kyle-evans.net/freebsd/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Node builder for Doom
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O2 -fomit-frame-pointer|${CFLAGS} &|' \
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bsp ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/bsp.6 ${STAGEDIR}${MANPREFIX}/man/man6
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|