aboutsummaryrefslogtreecommitdiffstats
path: root/games/xinvaders/Makefile
blob: eded4f8215d9bf8285eee88e8c6e0b0f74f266cc (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    xinvaders
# Date created:         3 Jan 1995
# Whom:                 swallace
#
# $FreeBSD$
#

PORTNAME=   xinvaders
PORTVERSION=    2.1.1
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade/invaders

MAINTAINER= ports@FreeBSD.org
COMMENT=    Shoot-em-up them nasty little bugs

ONLY_FOR_ARCHS= i386

NO_CDROM=   "don't sell for profit"

USE_GETTEXT=    yes
USE_X_PREFIX=   yes
USE_AUTOMAKE_VER=   14
AUTOMAKE_ARGS=  --include-deps
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --enable-scorefile=${PREFIX}/share/xinvaders/xinvaders.scores

MAN6=       xinvaders.6

post-install:
    ${INSTALL_DATA} ${FILESDIR}/Vaders.ad ${PREFIX}/lib/X11/app-defaults/Vaders
    @${MKDIR} ${PREFIX}/share/xinvaders
    @${ECHO_CMD} '0' > ${PREFIX}/share/xinvaders/xinvaders.scores
    @${CHOWN} root:games ${PREFIX}/bin/xinvaders
    @${CHMOD} 2555 ${PREFIX}/bin/xinvaders
    @${CHOWN} root:games ${PREFIX}/share/xinvaders/xinvaders.scores
    @${CHMOD} 0660 ${PREFIX}/share/xinvaders/xinvaders.scores

.include <bsd.port.mk>