openbsd-ports/games/xbattle/Makefile

36 lines
1.1 KiB
Makefile
Raw Normal View History

2002-03-21 15:57:06 -05:00
# $OpenBSD: Makefile,v 1.13 2002/03/21 20:57:07 espie Exp $
COMMENT= "concurrent multi-player battle strategy game"
1998-05-19 20:02:55 -04:00
DISTNAME= xbattle-5.4.1
CATEGORIES= games
2002-03-21 15:57:06 -05:00
NEED_VERSION= 1.515
MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/
1998-05-19 20:02:55 -04:00
2000-03-16 18:06:43 -05:00
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=imake
1998-05-19 20:02:55 -04: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-19 20:02:55 -04:00
.include <bsd.port.mk>