1998-02-20 10:31:39 +01:00
|
|
|
# New ports collection makefile for: xbomb
|
|
|
|
# Date created: 20 Feb 1998
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-20 10:31:39 +01:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-02-20 10:31:39 +01:00
|
|
|
#
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= xbomb
|
2009-12-13 01:47:39 +01:00
|
|
|
PORTVERSION= 2.2a
|
1998-02-20 10:31:39 +01:00
|
|
|
CATEGORIES= games
|
2000-01-24 07:02:10 +01:00
|
|
|
MASTER_SITES= http://www.gedanken.demon.co.uk/download-xbomb/
|
1998-02-20 10:31:39 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2011-03-13 07:08:53 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Minesweeper with a couple of grid types
|
1998-02-20 10:31:39 +01:00
|
|
|
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_XORG= xaw7
|
2008-02-13 00:27:43 +01:00
|
|
|
|
1998-02-20 10:31:39 +01:00
|
|
|
MAN6= xbomb.6
|
2008-02-13 00:27:43 +01:00
|
|
|
PLIST_FILES= bin/xbomb \
|
|
|
|
lib/X11/app-defaults/XBomb \
|
|
|
|
lib/X11/xbomb/xbomb3.hi \
|
|
|
|
lib/X11/xbomb/xbomb4.hi \
|
|
|
|
lib/X11/xbomb/xbomb6.hi
|
|
|
|
PLIST_DIRS= lib/X11/xbomb
|
|
|
|
|
|
|
|
do-build:
|
- 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
|
|
|
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DLOCALBASE=\"${LOCALBASE}\" \
|
2009-01-23 17:28:36 +01:00
|
|
|
`pkg-config --cflags xaw7` *.c -o xbomb \
|
|
|
|
`pkg-config --libs xaw7`
|
1998-02-20 10:31:39 +01:00
|
|
|
|
2008-02-13 00:27:43 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xbomb ${PREFIX}/bin/xbomb
|
|
|
|
@${CHOWN} root:games ${PREFIX}/bin/xbomb
|
|
|
|
@${CHMOD} 2755 ${PREFIX}/bin/xbomb
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xbomb.6 ${MANPREFIX}/man/man6/xbomb.6
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xbomb.ad ${PREFIX}/lib/X11/app-defaults/XBomb
|
1998-02-20 10:31:39 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/X11/xbomb
|
2000-01-24 07:02:10 +01:00
|
|
|
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb3.hi
|
|
|
|
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb4.hi
|
|
|
|
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb6.hi
|
2000-08-16 08:06:40 +02:00
|
|
|
@${CHOWN} root:games ${PREFIX}/lib/X11/xbomb/xbomb?.hi
|
|
|
|
@${CHMOD} 664 ${PREFIX}/lib/X11/xbomb/xbomb?.hi
|
1998-02-20 10:31:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|