0b50a757e5
Also use %%DOCSDIR%% for pkg-plist. Patches submitted by: Simon Barner <barner@in.tum.de>
36 lines
805 B
Makefile
36 lines
805 B
Makefile
# New ports collection makefile for: battleball
|
|
# Date created: 18 December 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= battleball
|
|
PORTVERSION= 2.1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://home.austin.rr.com/pah/
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION:S/.//}.src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 3D single/multiplayer military soccer game for X Window System
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_MESA= yes
|
|
WRKSRC= ${WRKDIR}/battleball-2.1-src
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
|
CFLAGS+= -Wno-deprecated
|
|
|
|
do-install:
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in CHANGELOG README
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|