freebsd-ports/games/pengpong/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

44 lines
986 B
Makefile

# 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
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A cross-platform pong game written in SDL
USE_SDL= image sdl
NO_WRKSUBDIR= yes
USE_PERL5_BUILD=yes
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
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/pengpong ${PREFIX}/bin
.for files in ${DATAFILES}
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/${files} ${DATADIR}
.endfor
.include <bsd.port.mk>