2001-09-03 18:31:09 +02:00
|
|
|
# New ports collection makefile for: pengpong
|
|
|
|
# Date created: Fri Aug 24 18:21:25 EDT 2001
|
|
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pengpong
|
2001-09-05 01:38:57 +02:00
|
|
|
PORTVERSION= 0.3
|
2004-03-16 05:23:56 +01:00
|
|
|
PORTREVISION= 1
|
2001-09-03 18:31:09 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2001-11-15 04:59:42 +01:00
|
|
|
MAINTAINER= pat@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A cross-platform pong game written in SDL
|
2001-09-03 18:31:09 +02:00
|
|
|
|
2004-01-20 22:27:10 +01:00
|
|
|
USE_SDL= image sdl
|
2001-09-03 18:31:09 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2001-09-03 18:31:09 +02:00
|
|
|
|
2001-09-05 01:38:57 +02:00
|
|
|
DATAFILES= 24P_Copperplate_Blue.png ball.tga logo.jpg \
|
|
|
|
paddle.tga red.png
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi.orig -e \
|
|
|
|
's|/usr/local/share/games/pengpong|${DATADIR}|' \
|
|
|
|
${WRKSRC}/files.h
|
|
|
|
@${PERL} -pi.orig -e 's|0.2|${PORTVERSION}|' \
|
|
|
|
${WRKSRC}/pengpong.cpp
|
|
|
|
|
2001-09-03 18:31:09 +02:00
|
|
|
do-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/pengpong ${PREFIX}/bin
|
2001-09-05 01:38:57 +02:00
|
|
|
.for files in ${DATAFILES}
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${files} ${DATADIR}
|
|
|
|
.endfor
|
2001-09-03 18:31:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|