openbsd-ports/games/xbattle/Makefile
brad 3e8d522623 - mkdir -> ${INSTALL_DATA_DIR}
- kill off FreeBSD-ism (NOPORTDOCS knob)
--
Patch from: Pete Fritchman <petef@databits.net>
2001-03-22 22:06:35 +00:00

36 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:37 brad Exp $
DISTNAME= xbattle-5.4.1
CATEGORIES= games
NEED_VERSION= 1.305
MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=imake
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/*
.include <bsd.port.mk>