summaryrefslogtreecommitdiff
path: root/games/omega/Makefile
blob: fc1e6999a61b279095113b5e5353d18870cc9ccc (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: Makefile,v 1.1.1.1 1999/07/05 03:05:57 cpiazza Exp $
#

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>