1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/xbomb/Makefile
Kris Kennaway fd34708e71 Remove world-writable score files by making the game binary setgid games
and the score file root:games mode 664. Since the games group has (should
have) no permissions other than to write to game data files, it doesn't
really matter if this is "insecure" (lots of other things which are
setgid games already are).
2000-08-16 06:06:40 +00:00

30 lines
752 B
Makefile

# New ports collection makefile for: xbomb
# Date created: 20 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xbomb
PORTVERSION= 2.1a
CATEGORIES= games
MASTER_SITES= http://www.gedanken.demon.co.uk/download-xbomb/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
USE_X_PREFIX= yes
MAN6= xbomb.6
post-install:
@${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
@${CHOWN} root:games ${PREFIX}/bin/xbomb
@${CHMOD} 2755 ${PREFIX}/bin/xbomb
.include <bsd.port.mk>