aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmille/Makefile
blob: 2e59e05d728c4d73c481b8c3609e98fce74ac31a (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
# Created by: swallace
# $FreeBSD$

PORTNAME=   xmille
PORTVERSION=    2.0
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   XCONTRIB/games
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    X window mille bourne game

WRKSRC=     ${WRKDIR}/Mille

USES=       imake
USE_XORG=   x11 xext
PLIST_FILES=    bin/xmille man/man1/xmille.1.gz
MAKE_JOBS_UNSAFE=   yes
CFLAGS+=    -Wno-error=return-type

post-extract:
    @${FIND} ${WRKSRC} -name '*.[ao]' -delete

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xmille ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/xmille.man ${STAGEDIR}${MANPREFIX}/man/man1/xmille.1

.include <bsd.port.mk>