aboutsummaryrefslogtreecommitdiffstats
path: root/games/njam/Makefile
blob: beee8f73fd13ff8521ebab4da2d8dcff4dfdbfda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for: njam
# Date created:     10 November 2003
# Whom:         <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#

PORTNAME=   njam
PORTVERSION=    1.21
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=    ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Fast paced multiplayer pac-man clone

USE_GMAKE=  yes
USE_SDL=    mixer image net sdl
DOC_FILES=  assassin.gif award-2.gif cookie.gif doc-editor.html \
        doc.html doc2.html door.gif freezer.gif ghactive.gif \
        ghinactive.gif hunter.gif invisible.gif juice.gif \
        sample.gif shaddy.gif skin000.gif skin001.gif skin003.gif \
        teleport.gif thinline.gif trap.gif

post-install:
    ${CP} ${FILESDIR}/njam.sh ${WRKDIR}/njam.sh
    ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/njam.sh
    ${INSTALL_SCRIPT} ${WRKDIR}/njam.sh ${PREFIX}/bin/njam
.ifndef(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>