aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnake/Makefile
blob: 5973213739c914f1801a165654b99afd791016b8 (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
38
39
40
# Created by: chinsan
# $FreeBSD$

PORTNAME=   gnake
PORTVERSION=    0.94b
CATEGORIES= games
MASTER_SITES=   http://www.sourcefiles.org/Games/Arcade/
DISTNAME=   Gnake.${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Nibbles clone for GNU/Linux and *BSD

LICENSE=    GPLv2

BROKEN=     unfetchable
DEPRECATED= Unfetchable, unmaintained
EXPIRATION_DATE=    2019-10-16

USES=       ncurses
LDFLAGS+=   -L${LOCALBASE}/lib -lncurses
CFLAGS+=    -Wall

WRKSRC=     ${WRKDIR}/${PORTNAME}
PORTDOCS=   README
PLIST_FILES=    bin/${PORTNAME}

OPTIONS_DEFINE= DOCS

do-build:
    ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
        ${WRKSRC}/gnake.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>