summaryrefslogtreecommitdiff
path: root/games/dungeoncrawl/Makefile
blob: 4833ba8103742ddc68673869b4beead2add237e8 (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.b24
CATEGORIES=	games
MASTER_SITES=	ftp://anonymous:dposix@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>