aboutsummaryrefslogtreecommitdiffstats
path: root/games/blue/Makefile
blob: 6482af97a9e9ce37cb8d6a76df82bfa60f217e54 (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
# New ports collection makefile for:    blue
# Date created:             6 June 1997
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   blue
PORTVERSION=    2.9
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://www.catb.org/~esr/bluemoon/
DISTNAME=   bluemoon-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Blue Moon card solitaire

USE_REINPLACE=  yes
USE_GMAKE=  yes
ALL_TARGET= bluemoon

MAN6=       bluemoon.6
MLINKS=     bluemoon.6 blue.6

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
         s|cc |$$(CC) |g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin
    @${LN} -sf bluemoon ${PREFIX}/bin/blue
    ${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${MANPREFIX}/man/man6

.include <bsd.port.mk>