1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/xworm/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

37 lines
873 B
Makefile

# New ports collection makefile for: xworm
# Date created: 18 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xworm
PORTVERSION= 1.02
PORTREVISION= 2
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
USE_XORG= x11 xt
WRKSRC= ${WRKDIR}/XWorm
ALL_TARGET= linux
MAKE_ARGS= CC="${CC}" INCDIR="-I${LOCALBASE}/include" \
LINUXFLAGS='${CFLAGS} -DXWORMDIR=\"${DATADIR}\"' \
LINUXLINK="-L${LOCALBASE}/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>