aboutsummaryrefslogtreecommitdiff
path: root/games/columns/Makefile
blob: 09705b52a7df98e5612ef5ff90ae6f285403df13 (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
35
36
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=	columns
PORTVERSION=	1.2b
PORTREVISION=	9
CATEGORIES=	games
# mastersite disappeared in December 2000
MASTER_SITES=	LOCAL/thierry \
		http://mirror.amdmi3.ru/distfiles/
DISTNAME=	Columns-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nice little implementation of columns game for X Window System

LICENSE=	GPLv2 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

USE_SDL=	sdl
GNU_CONFIGURE=	yes

DATADIR=	${PREFIX}/share/Columns
PORTDOCS=	README

OPTIONS_DEFINE=	DOCS

post-configure:
	@${REINPLACE_CMD} -e '/chmod 0666/d' ${WRKSRC}/Makefile

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
	@${MKDIR} ${STAGEDIR}/var/games
	${MV} ${STAGEDIR}${DATADIR}/columns.hsc ${STAGEDIR}/var/games/columns.hsc.sample

.include <bsd.port.mk>