1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/xbattle/Makefile
Chris Piazza 93ffe04c9a Install in share/*, not /etc/*.
Obtained from:	OpenBSD
1999-10-01 18:42:07 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: xbattle
# Version required: 15.4.1
# Date created: 6 Apr 97
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
DISTNAME= xbattle-5.4.1
CATEGORIES= games
MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/
MAINTAINER= giffunip@asme.org
USE_IMAKE= yes
MAN1= xbattle.1
post-install:
$(MKDIR) $(PREFIX)/share/xbattle
$(CP) -R $(WRKSRC)/xbos $(PREFIX)/share/xbattle/
$(CP) -R $(WRKSRC)/xbts $(PREFIX)/share/xbattle/
$(CP) -R $(WRKSRC)/xbas $(PREFIX)/share/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/*
.if !defined(NOPORTDOCS)
$(MKDIR) $(PREFIX)/share/doc/xbattle
$(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
$(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
@${CHMOD} 755 $(PREFIX)/share/doc/xbattle
@${CHMOD} 644 $(PREFIX)/share/doc/xbattle/*
.endif
.include <bsd.port.mk>