1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/games/connect4/Makefile
Kris Kennaway 0ba4046659 Remove a world-writable score file 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 05:58:22 +00:00

36 lines
913 B
Makefile

# New ports collection makefile for: connect4
# Date created: Thu May 8 16:41:01 EST 1997
# Whom: Joel Sutton <jsutton@bbcon.com.au>
#
# $FreeBSD$
#
PORTNAME= connect4
PORTVERSION= 3.2
CATEGORIES= games
MASTER_SITES= ftp://ftp.gu.kiev.ua/pub/cdrom5/games/volume6/ \
ftp://scitsc.wlv.ac.uk/pub/infomagic/usenet/games/volume6/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= ""
MAINTAINER= jsutton@bbcon.com.au
BUILD_DEPENDS= gunshar:${PORTSDIR}/archivers/gshar+gunshar
EXTRACT_CMD= gunshar
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
MAN6= connect4.6
MANDIR= ${PREFIX}/man/man
LIBDIR= ${PREFIX}/lib
do-install:
${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/c4 ${PREFIX}/bin/connect4
${MKDIR} ${LIBDIR}/connect4
${INSTALL_DATA} -m 664 -o root -g games /dev/null ${LIBDIR}/connect4/scores
${INSTALL_MAN} ${FILESDIR}/connect4.6 ${MANDIR}6/
.include <bsd.port.mk>