aboutsummaryrefslogtreecommitdiffstats
path: root/games/dungeoncrawl/Makefile
blob: 331a4bd49f41087f257cd792622fe86bd5ab00d6 (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:   dungeoncrawl
# Date created:        10 March 2003
# Whom:                refugee
#
# $FreeBSD$
#

PORTNAME=   dungeoncrawl
PORTVERSION=    4.0.0.b26
CATEGORIES= games
MASTER_SITES=   ftp://ftp.dungeoncrawl.org/dev/4.0.x/src/
DISTNAME=   dc${PORTVERSION:S/.//g}-src
EXTRACT_SUFX=   .tbz2

MAINTAINER= refugee@vt.edu
COMMENT=    An old school roguelike game

USE_BZIP2=  yes

WRKSRC=     ${WRKDIR}/${DISTNAME}/source/

MAKEFILE=   ${WRKSRC}/makefile.bsd

PLIST_SUB=  CRAWLDOCSDIR="${CRAWLDOCSDIR}"

CRAWLDOCSDIR?=  share/doc/${PORTNAME}

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${PREFIX}/${CRAWLDOCSDIR}
    ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/crawl.txt ${PREFIX}/${CRAWLDOCSDIR}
.endif

.include <bsd.port.mk>