1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/xworm/Makefile

37 lines
873 B
Makefile
Raw Normal View History

# New ports collection makefile for: xworm
# Date created: 18 March 1998
# Whom: Andrey Zakhvatov
#
1999-08-25 06:06:33 +00:00
# $FreeBSD$
#
PORTNAME= xworm
PORTVERSION= 1.02
PORTREVISION= 2
1998-07-05 11:41:43 +00:00
CATEGORIES= games
MASTER_SITES= http://www.ekran.no/archive/x/
DISTNAME= ${PORTNAME}102
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:32:26 +00:00
COMMENT= Classic game with apples and hungry worm
USE_XORG= x11 xt
WRKSRC= ${WRKDIR}/XWorm
2005-04-28 08:51:19 +00:00
ALL_TARGET= linux
MAKE_ARGS= CC="${CC}" INCDIR="-I${LOCALBASE}/include" \
2005-04-28 08:51:19 +00:00
LINUXFLAGS='${CFLAGS} -DXWORMDIR=\"${DATADIR}\"' \
LINUXLINK="-L${LOCALBASE}/lib -lXt -lX11 -lm"
2005-04-28 08:51:19 +00:00
DATA= font grid raw
PLIST_FILES= bin/xworm ${DATA:S/^/%%DATADIR%%\/xworm./}
PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/xworm
2005-04-28 08:51:19 +00:00
.for file in ${DATA}
${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm
.endfor
.include <bsd.port.mk>