aboutsummaryrefslogtreecommitdiffstats
path: root/games/sudoku_solver/Makefile
blob: 5b3173e64006a068b414870fe5db04e14ce9532f (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   sudoku_solver
PORTVERSION=    1.20
CATEGORIES= games
MASTER_SITES=   http://www.techfinesse.com/game/
DISTNAME=   solver

MAINTAINER= rhurlin@gwdg.de
COMMENT=    Sudoku Solver in C

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/${DISTNAME}_${PORTVERSION}

ALL_TARGET= # empty

PLIST_FILES=    bin/sudoku_solver

post-patch:
    @${REINPLACE_CMD} -e "s,^CC,#CC, ; s,^CFLAGS,#CFLAGS," \
        ${WRKSRC}/${MAKEFILE}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/sudoku_solver ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>