aboutsummaryrefslogtreecommitdiffstats
path: root/games/3dpong/Makefile
blob: b754695e8a15521afd1fd47916703282e780697c (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
# New ports collection makefile for:    3dpong
# Date created:             10 March 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   3dpong
PORTVERSION=    0.4
CATEGORIES= games
MASTER_SITES=   ftp://ftp.sonic.net/pub/users/nbs/unix/x/3dpong/

MAINTAINER= ports@FreeBSD.org

MAKEFILE=   makefile
USE_X_PREFIX=   yes

post-patch:
    @${PERL} -pi.fbsd -e 's.\tchmod .\t${CHMOD} .g' \
        ${WRKSRC}/makefile

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/3dpong
    @ ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/share/3dpong

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/3dpong
    @ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/3dpong
.endif

.include <bsd.port.mk>