aboutsummaryrefslogtreecommitdiffstats
path: root/games/plonx/Makefile
blob: 0d9ab710bc5a842f1f177b6a34f662304f71b537 (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
# New ports collection makefile for:    plonx
# Date created:             25 November 2005
# Whom:                 clive crous <clive@darkarts.co.za>
#
# $FreeBSD$

PORTNAME=   plonx
PORTVERSION=    0.03
CATEGORIES= games
MASTER_SITES=   http://bilious.homelinux.org/~paxed/${PORTNAME}/

MAINTAINER= clive@darkarts.co.za
COMMENT=    A small ascii puzzle game

PLIST_FILES=    bin/plonx
PORTDOCS=   README

LDFLAGS+=   -lncurses

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>