mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
1f375c4cca
- Add LICENSE - Switch to options helpers - Regenerate patches PR: 216651 Submitted by: jbeich@FreeBSD.org
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: <janos.mohacsi@bsd.hu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= njam
|
|
PORTVERSION= 1.25
|
|
PORTREVISION= 12
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Fast paced multiplayer pac-man clone
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake localbase
|
|
USE_SDL= mixer image net sdl
|
|
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
DESKTOP_ENTRIES="njam" \
|
|
"${COMMENT}" \
|
|
"${DATADIR}/njamicon.ico" \
|
|
"${PORTNAME}" \
|
|
"Game;ArcadeGame;" \
|
|
""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${RM} ${WRKSRC}/src/*.o
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/var/lib/games|/var/games|' \
|
|
${WRKSRC}/src/njam.cpp
|
|
@${REINPLACE_CMD} -e 's,#ifdef __linux__,#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__),; \
|
|
s,#ifndef __linux__,#if !defined(__linux__) \&\& !defined(__FreeBSD__) \&\& !defined(__DragonFly__),' \
|
|
${WRKSRC}/src/*.cpp ${WRKSRC}/src/*.h
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|