aboutsummaryrefslogtreecommitdiffstats
path: root/games/einstein/Makefile
blob: 9aadff8262b92c31eb260ac801c6a1b4a3a2076d (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: edwin@mavetju.org
# $FreeBSD$

PORTNAME=   einstein
PORTVERSION=    2.0
PORTREVISION=   10
CATEGORIES= games
MASTER_SITES=   http://games.flowix.com/files/einstein/ \
        http://mirror.amdmi3.ru/distfiles/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Remake of old DOS game Sherlock, which was inspired by Albert Einstein's puzzle

LICENSE=    GPLv2+ # (now dead) website mentions GPL

USE_SDL=    sdl ttf mixer
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} \
        -e "s,@@STAGEDIR@@,${STAGEDIR}," \
        -e "s,@@PREFIX@@,${PREFIX}," \
        ${WRKSRC}/Makefile

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/einstein

.include <bsd.port.mk>