38 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.29 2019/07/14 00:39:37 naddy Exp $
COMMENT= concurrent multi-player battle strategy game
1998-05-20 00:02:55 +00:00
DISTNAME= xbattle-5.4.1
2017-10-23 17:10:49 +00:00
REVISION = 5
1998-05-20 00:02:55 +00:00
CATEGORIES= games
2002-10-26 20:44:38 +00:00
MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/
1998-05-20 00:02:55 +00:00
PERMIT_PACKAGE= Yes
2007-11-13 14:54:30 +00:00
2017-10-23 17:10:49 +00:00
WANTLIB= X11 Xau Xdmcp Xext c m xcb
2000-03-16 23:06:43 +00:00
CONFIGURE_STYLE=imake
2013-03-11 11:02:49 +00:00
NO_TEST= Yes
2002-10-26 20:44:38 +00:00
1998-05-20 00:02:55 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xbattle
${INSTALL_DATA_DIR} ${PREFIX}/share/xbattle
@cp $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
@cp $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
@cp -R $(WRKSRC)/xbas $(PREFIX)/share/xbattle/
@cp -R $(WRKSRC)/xbos $(PREFIX)/share/xbattle/
@cp -R $(WRKSRC)/xbts $(PREFIX)/share/xbattle/
@chmod 755 $(PREFIX)/share/doc/xbattle
@chmod 644 $(PREFIX)/share/doc/xbattle/*
@chmod 755 ${PREFIX}/share/xbattle
@chmod 755 ${PREFIX}/share/xbattle/xbas
@chmod 644 ${PREFIX}/share/xbattle/xbas/*
@chmod 755 ${PREFIX}/share/xbattle/xbos
@chmod 644 ${PREFIX}/share/xbattle/xbos/*
@chmod 755 ${PREFIX}/share/xbattle/xbts
@chmod 644 ${PREFIX}/share/xbattle/xbts/*
1998-05-20 00:02:55 +00:00
.include <bsd.port.mk>