aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmastermind/Makefile
blob: 279eb04b6048d3461e9c28a329e022cde8c38408 (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
# New ports collection makefile for:    xmastermind
# Date created:             23 March 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=       xmastermind
PORTVERSION=        0.1
PORTREVISION=   2
CATEGORIES=     games
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy

MAINTAINER=     ports@FreeBSD.org
COMMENT=    Mastermind game for X Window System

LIB_DEPENDS=        forms.1:${PORTSDIR}/x11-toolkits/xforms

USE_XORG=   x11 xpm

pre-patch:
    @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
        ${WRKSRC}/list.h

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/doc/xmastermind
.for file in BUGS README.for.developers README.for.users
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xmastermind
.endfor

.include <bsd.port.mk>