1998-04-27 05:51:05 +02:00
|
|
|
# New ports collection makefile for: 3dpong
|
|
|
|
# Date created: 10 March 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-04-27 05:51:05 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= 3dpong
|
2004-07-14 14:21:20 +02:00
|
|
|
PORTVERSION= 0.5
|
1998-07-28 01:25:33 +02:00
|
|
|
CATEGORIES= games
|
2003-08-26 17:39:59 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/3dpong/src/
|
1998-04-27 05:51:05 +02:00
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= X Window 3D Pong game for 1 or 2 players with a ball and paddles
|
1998-04-27 05:51:05 +02:00
|
|
|
|
1998-08-05 11:31:52 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-08-26 17:39:59 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-07-14 14:21:20 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${X11BASE}/include" \
|
|
|
|
XLIB="-L${X11BASE}/lib -lX11"
|
2001-06-11 01:34:38 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-07-14 14:21:20 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c
|
1998-04-27 05:51:05 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-08-26 17:39:59 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR}
|
1998-08-10 14:16:55 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-08-26 17:39:59 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-07-14 14:21:20 +02:00
|
|
|
.for file in AUTHORS.txt CHANGES.txt INSTALL.txt README.txt TODO.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
1998-08-10 14:16:55 +02:00
|
|
|
.endif
|
1998-04-27 05:51:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|