1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/xevil/Makefile
Mark Pulford 3724f7b8be Fix MASTER_SITES.
PR:		31852
Submitted by:	maintainer
2001-11-11 02:58:54 +00:00

45 lines
1.0 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
CATEGORIES= games
MASTER_SITES= http://www.xevil.com/download/stable/
DISTNAME= xevilsrc${PORTVERSION}
MAINTAINER= goranrunfeldt@home.se
USE_X_PREFIX= yes
USE_ZIP= yes
USE_XPM= yes
ALL_TARGET= freebsd
# 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}
post-extract:
@${MV} -f ${WRKDIR}/${DISTNAME}/makefile ${WRKDIR}/${DISTNAME}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x11/FREEBSD/xevil ${PREFIX}/bin/xevil
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xevil/instructions
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/xevil
${INSTALL_DATA} ${WRKSRC}/instructions/* \
${PREFIX}/share/doc/xevil/instructions
.endif
.include <bsd.port.mk>