2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-07-04 21:31:54 +02:00
|
|
|
|
2000-04-14 14:28:40 +02: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 19:56:05 +02:00
|
|
|
PORTREVISION= 2
|
1998-07-05 13:41:43 +02:00
|
|
|
CATEGORIES= games
|
1998-07-04 21:31:54 +02:00
|
|
|
MASTER_SITES= http://www.ekran.no/archive/x/
|
2000-09-05 03:15:08 +02:00
|
|
|
DISTNAME= ${PORTNAME}102
|
1998-07-04 21:31:54 +02:00
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Classic game with apples and hungry worm
|
1998-07-04 21:31:54 +02: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 19:56:05 +02:00
|
|
|
USE_XORG= x11 xt
|
1998-07-04 21:31:54 +02:00
|
|
|
WRKSRC= ${WRKDIR}/XWorm
|
2005-04-28 10:51:19 +02: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 19:56:05 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" INCDIR="-I${LOCALBASE}/include" \
|
2005-04-28 10:51:19 +02: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 19:56:05 +02:00
|
|
|
LINUXLINK="-L${LOCALBASE}/lib -lXt -lX11 -lm"
|
2005-04-28 10:51:19 +02:00
|
|
|
|
|
|
|
DATA= font grid raw
|
|
|
|
PLIST_FILES= bin/xworm ${DATA:S/^/%%DATADIR%%\/xworm./}
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
1998-07-04 21:31:54 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-11-16 02:35:38 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xworm ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xworm
|
2005-04-28 10:51:19 +02:00
|
|
|
.for file in ${DATA}
|
2013-11-16 02:35:38 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${STAGEDIR}${PREFIX}/share/xworm
|
1998-07-04 21:31:54 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|