aboutsummaryrefslogtreecommitdiffstats
path: root/games/fargoal/Makefile
blob: 77b1a24ab7b6e85e72e9c0e8270247356c0740d0 (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
# Created by: chris_pressey@yahoo.ca
# $FreeBSD$

PORTNAME=   fargoal
PORTVERSION=    20040629
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   SF/squidfighter/${PORTNAME}/20040630
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Remake of classic roguelike game "Sword of Fargoal"

LIB_DEPENDS=    liballeg.so:${PORTSDIR}/devel/allegro

WRKSRC=     ${WRKDIR}/${PORTNAME}/src

USES=       gmake zip

SUB_FILES=  ${PORTNAME}-sh

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${INSTALL_PROGRAM} ${WRKSRC}/../sword ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
    cd ${WRKSRC}/.. && ${COPYTREE_SHARE} "agreement.txt data gfx sfx" ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>