aboutsummaryrefslogtreecommitdiff
path: root/games/omega/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/omega/Makefile')
-rw-r--r--games/omega/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/games/omega/Makefile b/games/omega/Makefile
new file mode 100644
index 000000000000..260101f1ef27
--- /dev/null
+++ b/games/omega/Makefile
@@ -0,0 +1,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>