2000-12-21 14:00:48 -05:00
|
|
|
|
# New ports collection makefile for: xevil
|
|
|
|
|
# Date created: 7 November 2000
|
|
|
|
|
# Whom: G<>ran Runfeldt <goranrunfeldt@home.se>
|
1995-05-05 19:42:52 -04:00
|
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
|
# $FreeBSD$
|
1998-08-23 03:34:47 -04:00
|
|
|
|
#
|
1995-05-05 19:42:52 -04:00
|
|
|
|
|
2000-04-14 08:28:40 -04:00
|
|
|
|
PORTNAME= xevil
|
2003-05-18 15:18:21 -04:00
|
|
|
|
PORTVERSION= 2.02.r2
|
1996-11-18 04:56:45 -05:00
|
|
|
|
CATEGORIES= games
|
2001-11-10 21:58:54 -05:00
|
|
|
|
MASTER_SITES= http://www.xevil.com/download/stable/
|
2003-05-18 15:18:21 -04:00
|
|
|
|
DISTNAME= xevilsrc${PORTVERSION:S/.r/r/}
|
1995-05-05 19:42:52 -04:00
|
|
|
|
|
2003-05-05 01:51:49 -04:00
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 07:06:51 -05:00
|
|
|
|
COMMENT= A fast-action, networked, anti-social, kill-everything game
|
1995-05-05 19:42:52 -04:00
|
|
|
|
|
2000-12-21 14:00:48 -05:00
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
|
USE_XPM= yes
|
2003-11-03 13:59:15 -05:00
|
|
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
MAKEFILE= makefile
|
2000-12-21 14:00:48 -05:00
|
|
|
|
ALL_TARGET= freebsd
|
|
|
|
|
|
2003-05-18 06:15:24 -04:00
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
2000-12-21 14:00:48 -05:00
|
|
|
|
# I'm not sure if this should be here
|
|
|
|
|
.if (${MACHINE} == "alpha")
|
|
|
|
|
CFLAGS+="-DXEVIL_KEYSET=UIalpha"
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
|
@${MKDIR} ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
|
@unzip -aqo ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
|
|
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/x11/FREEBSD/xevil ${PREFIX}/bin/xevil
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-03 13:59:15 -05:00
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
|
|
|
|
@${MKDIR} ${DOCSDIR}/instructions
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions
|
2000-12-21 14:00:48 -05:00
|
|
|
|
.endif
|
1995-05-05 19:42:52 -04:00
|
|
|
|
|
2003-05-18 06:15:24 -04:00
|
|
|
|
.include <bsd.port.post.mk>
|