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).
29 lines
752 B
Makefile
29 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>
|