1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/xevil/Makefile
Mathieu Arnold 02e619a5d8 - Convert to dos2unix.mk
- While at it convert to gmake.mk ports that still USE_GMAKE.
2013-11-19 23:08:44 +00:00

44 lines
1.0 KiB
Makefile

# Created by: G_ran Runfeldt <goranrunfeldt@home.se>
# $FreeBSD$
PORTNAME= xevil
PORTVERSION= 2.02.r2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}.mirror \
http://www.xevil.com/download/stable/
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast-action, networked, anti-social, kill-everything game
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR=yes
USES= dos2unix
USE_ZIP= yes
USE_XORG= xpm
DOS2UNIX_GLOB= *.cpp *.h config.mk makefile
MAKEFILE= makefile
MAKE_ARGS= DEPTH="${WRKSRC}"
ALL_TARGET= ${OPSYS:L}
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \
's|^static char|static const char|'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/instructions
${INSTALL_DATA} ${WRKSRC}/instructions/* ${STAGEDIR}${DOCSDIR}/instructions
.include <bsd.port.mk>