blob: 81d82aae48a7cb77e5f128bbe68107178178c780 (
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
|
# New ports collection makefile for: 3dpong
# Date created: 10 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= 3dpong
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/3dpong/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= X Window 3D Pong game for 1 or 2 players with a ball and paddles
USE_XORG= x11
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
XLIB="-L${LOCALBASE}/lib -lX11"
post-patch:
@${REINPLACE_CMD} -e \
's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS.txt CHANGES.txt INSTALL.txt README.txt TODO.txt
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|