freebsd-ports/games/xbattle/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: xbattle
# Date created: 6 Apr 97
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= xbattle
PORTVERSION= 5.4.1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= A concurrent multi-player battle strategy game
USE_IMAKE= yes
USE_XORG= x11 xext
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} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/tutorial* ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>