summaryrefslogtreecommitdiff
path: root/games/omega/Makefile
blob: 260101f1ef27b825e463b8c77931114b920014db (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
37
38
39
40
41
# New ports collection makefile for:	omega
# Version required:			0.90.4
# Date created:				14 May 1998
# Whom:					Andrey Zakhvatov
#
# $Id$
#

DISTNAME=	omega-0.90-pa4
PKGNAME=	omega-0.90.4
CATEGORIES=	games
MASTER_SITES=	http://dolphin.openprojects.net/Omega/Downloads/Prealphas/

MAINTAINER=	andy@icc.surw.chel.su

ALL_TARGET=
WRKSRC=		${WRKDIR}/omega
MAN6=		omega.6

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/omega ${PREFIX}/bin
	@ ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${PREFIX}/man/man6
	@ chown games:games ${PREFIX}/bin/omega
	@ chmod 4711 ${PREFIX}/bin/omega
	@ ${MKDIR} ${PREFIX}/share/omega
	@ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/omega
	@ ${RM} ${PREFIX}/share/omega/license.old
	@ chmod 0600 ${PREFIX}/share/omega/omega.hi
	@ chmod 0600 ${PREFIX}/share/omega/omega.log
	@ ${CP} ${PREFIX}/share/omega/omega.hi ${PREFIX}/share/omega/omegahi.bak
	@ chown -R games:games ${PREFIX}/share/omega

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/omega
.for file in buglist.txt docs/compile.all docs/readme.1st docs/omega.txt docs/readme3 docs/readme4
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/omega
.endfor
.endif

.include <bsd.port.mk>