1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/xbomb/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

47 lines
1.3 KiB
Makefile

# New ports collection makefile for: xbomb
# Date created: 20 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xbomb
PORTVERSION= 2.2
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.gedanken.demon.co.uk/download-xbomb/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper with a couple of grid types
USE_XORG= xaw7
MAN6= xbomb.6
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:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DLOCALBASE=\"${LOCALBASE}\" \
`pkg-config --cflags xaw7` *.c -o xbomb \
`pkg-config --libs xaw7`
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
@${MKDIR} ${PREFIX}/lib/X11/xbomb
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb3.hi
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb4.hi
@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb6.hi
@${CHOWN} root:games ${PREFIX}/lib/X11/xbomb/xbomb?.hi
@${CHMOD} 664 ${PREFIX}/lib/X11/xbomb/xbomb?.hi
.include <bsd.port.mk>