1998-07-04 19:31:54 +00:00
|
|
|
# New ports collection makefile for: xworm
|
|
|
|
# Date created: 18 March 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-07-04 19:31:54 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xworm
|
|
|
|
PORTVERSION= 1.02
|
- 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
|
|
|
PORTREVISION= 2
|
1998-07-05 11:41:43 +00:00
|
|
|
CATEGORIES= games
|
1998-07-04 19:31:54 +00:00
|
|
|
MASTER_SITES= http://www.ekran.no/archive/x/
|
2000-09-05 01:15:08 +00:00
|
|
|
DISTNAME= ${PORTNAME}102
|
1998-07-04 19:31:54 +00:00
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:32:26 +00:00
|
|
|
COMMENT= Classic game with apples and hungry worm
|
1998-07-04 19:31:54 +00:00
|
|
|
|
- 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
|
|
|
USE_XORG= x11 xt
|
1998-07-04 19:31:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/XWorm
|
2005-04-28 08:51:19 +00:00
|
|
|
ALL_TARGET= linux
|
- 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
|
|
|
MAKE_ARGS= CC="${CC}" INCDIR="-I${LOCALBASE}/include" \
|
2005-04-28 08:51:19 +00:00
|
|
|
LINUXFLAGS='${CFLAGS} -DXWORMDIR=\"${DATADIR}\"' \
|
- 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
|
|
|
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%%
|
1998-07-04 19:31:54 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-09-05 01:15:08 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/xworm
|
2005-04-28 08:51:19 +00:00
|
|
|
.for file in ${DATA}
|
2000-09-05 01:15:08 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm
|
1998-07-04 19:31:54 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|