aboutsummaryrefslogtreecommitdiffstats
path: root/games/xtet42/Makefile
blob: 887cf44e2c6e5011fc7e683cc9a235c84ccde5f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:   xtet42
# Date created:        14 Feb 1999
# Whom:                gmarco@giovannelli.it
#
# $FreeBSD$
#

PORTNAME=   xtet42
PORTVERSION=    2.21
CATEGORIES= games
MASTER_SITES=   http://www.pvv.ntnu.no/~oyvindmo/xtet42/

MAINTAINER= gmarco@giovannelli.it

USE_X_PREFIX=   yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-setgid=games

MAN6=   xtet42.6

do-install:
    ${MKDIR} ${PREFIX}/lib/X11/xtet42
    @${CHOWN} root:games ${PREFIX}/lib/X11/xtet42
    @${CHMOD} 775 ${PREFIX}/lib/X11/xtet42
    ${INSTALL} -c -m 2755 -g games ${WRKSRC}/xtet42 ${PREFIX}/bin
    ${INSTALL} -c -m 664  -g games ${WRKSRC}/xtet42.hiscore ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore
    ${INSTALL} -c -m 664  -g games ${WRKSRC}/xtet42.hiscore.single ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore.single
    ${INSTALL} -c -m 664  -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.unlock
    ${INSTALL} -c -m 664  -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.log
    ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${PREFIX}/man/man6

.include <bsd.port.mk>