aboutsummaryrefslogtreecommitdiffstats
path: root/games/blue/Makefile
blob: 8e525a7186bd65ad6b30f27e676ab9dec8180a70 (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
# Created by: Andrey Zakhvatov
# $FreeBSD$

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

MAINTAINER= nemysis@gmx.ch
COMMENT=    Blue Moon card solitaire

LICENSE=    BSD

USE_GMAKE=  yes
ALL_TARGET= bluemoon

PLIST_FILES=    bin/blue \
        bin/bluemoon

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

NO_STAGE=   yes
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} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6

.include <bsd.port.mk>