freebsd-ports/games/xevil/Makefile
Pav Lucistnik 4bb8eb15eb - Convert unzip -a to USE_DOS2UNIX
PR:		ports/146533
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2010-06-03 15:54:29 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: xevil
# Date created: 7 November 2000
# Whom: Göran Runfeldt <goranrunfeldt@home.se>
#
# $FreeBSD$
#
PORTNAME= xevil
PORTVERSION= 2.02.r2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.xevil.com/download/stable/
DISTNAME= xevilsrc${PORTVERSION:S/.r/r/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A fast-action, networked, anti-social, kill-everything game
USE_ZIP= yes
USE_XORG= xpm
USE_DOS2UNIX= makefile config.mk cmn/makefile cmn/*.cpp cmn/*.h x11/makefile x11/*.cpp
MAKEFILE= makefile
ALL_TARGET= freebsd
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
# 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_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x11/FREEBSD/xevil ${PREFIX}/bin/xevil
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/instructions
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions
.endif
.include <bsd.port.post.mk>