1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/njam/Makefile
Alex Kozlov d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00

39 lines
847 B
Makefile

# Created by: <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= njam
PORTVERSION= 1.25
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Fast paced multiplayer pac-man clone
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -D__linux__
USE_SDL= mixer image net sdl
PORTDOCS= *
.include <bsd.port.options.mk>
post-extract:
@${RM} -f ${WRKSRC}/src/*.o
post-patch:
@${REINPLACE_CMD} -e 's|/var/lib/games|/var/games|' \
${WRKSRC}/src/njam.cpp
post-install:
${CHOWN} :games ${PREFIX}/bin/njam
${CHMOD} g+s ${PREFIX}/bin/njam
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>