mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
cd7fd8062c
PR: ports/80139 Submitted by: Andrej Zverev <az@inec.ru>
38 lines
925 B
Makefile
38 lines
925 B
Makefile
# New ports collection makefile for: 3dpong
|
|
# Date created: 10 March 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= 3dpong
|
|
PORTVERSION= 0.5
|
|
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_X_PREFIX= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${X11BASE}/include" \
|
|
XLIB="-L${X11BASE}/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>
|