1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
905 B
Makefile

# New ports collection makefile for: njam
# Date created: 10 November 2003
# Whom: <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#
PORTNAME= njam
PORTVERSION= 1.25
PORTREVISION= 7
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
MAKE_JOBS_SAFE= yes
PORTDOCS= *
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
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>