freebsd-ports/games/burgerspace/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

35 lines
778 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
PORTNAME= burgerspace
PORTVERSION= 1.9.2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://perso.b2b2c.ca/~sarrazip/dev/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= BurgerTime clone
LICENSE= GPLv2
LIB_DEPENDS= libflatzebra-0.1.so:devel/flatzebra
USES= pkgconfig
USE_CXXSTD= gnu++98
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|docdir = .*|docdir = ${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>