mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
37 lines
870 B
Makefile
37 lines
870 B
Makefile
# New ports collection makefile for: xworm
|
|
# Date created: 18 March 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xworm
|
|
PORTVERSION= 1.02
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ekran.no/archive/x/
|
|
DISTNAME= ${PORTNAME}102
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Classic game with apples and hungry worm
|
|
|
|
WRKSRC= ${WRKDIR}/XWorm
|
|
USE_X_PREFIX= yes
|
|
ALL_TARGET= linux
|
|
MAKE_ARGS= CC="${CC}" INCDIR="-I${X11BASE}/include" \
|
|
LINUXFLAGS='${CFLAGS} -DXWORMDIR=\"${DATADIR}\"' \
|
|
LINUXLINK="-L${X11BASE}/lib -lXt -lX11 -lm"
|
|
|
|
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
|
|
.for file in ${DATA}
|
|
${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|