ports/170682: [NEW PORT] graphics/puckman: An unofficial clone of the original Pac-Man game
nemysis
nemysis at gmx.ch
Thu Aug 16 21:20:09 UTC 2012
>Number: 170682
>Category: ports
>Synopsis: [NEW PORT] graphics/puckman: An unofficial clone of the original Pac-Man game
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 16 21:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
This game is an unofficial clone of the original Pac-Man game
and is not endorsed by the registered trademark owners Namco, Inc.
WWW: https://github.com/patapizza/puckman
Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:
--- .shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# puckman
# puckman/Makefile
# puckman/pkg-descr
# puckman/distinfo
# puckman/files
# puckman/files/patch-Makefile
# puckman/files/patch-puckman.c
#
echo c - puckman
mkdir -p puckman > /dev/null 2>&1
echo x - puckman/Makefile
sed 's/^X//' >puckman/Makefile << 'cef89b27799483972a0df749b3af70bf'
X# New Ports collection makefile for puckman
X# Date created: 2012-08-08
X# Whom: nemysis at gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME= puckman
XPORTVERSION= 1.0
XCATEGORIES= graphics
XMASTER_SITES= https://github.com/patapizza/puckman/tarball/master/
XDISTNAME= patapizza-${PORTNAME}-${DISTVERSION}
X
XMAINTAINER= nemysis at gmx.ch
XCOMMENT= An unofficial clone of the original Pac-Man game
X
XLICENSE= GPLv3
X
XOPTIONS_DEFINE= DATA
XOPTIONS_DEFAULT= DATA
X
XFETCH_ARGS?= -Fpr
XUSE_GMAKE= yes
XUSE_SDL= sdl image gfx
X
XPLIST_FILES= bin/${PORTNAME} \
X share/pixmaps/${PORTNAME}.png
X
XPORTDATA= *
XPORTDOCS= INSTALL README.md
X
X.include <bsd.port.options.mk>
X
Xdo-build:
X cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
X -DDATA_PREFIX=\"${DATADIR}/\" -DAUDIO -DLINUX \
X -lm `${SDL_CONFIG} --cflags --libs` -lSDL -lSDL_image -lSDL_gfx -lm puckman.c
X
Xdo-install:
X# Executable
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X# Data
X.if ${PORT_OPTIONS:MDATA}
X ${MKDIR} ${DATADIR}
X @(cd ${WRKSRC} && ${COPYTREE_SHARE} images ${DATADIR})
X.endif
X
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X ${MKDIR} ${DOCSDIR}
X. for f in ${PORTDOCS}
X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X. endfor
X.endif
X
X# Pixmaps
X ${INSTALL_DATA} ${WRKSRC}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X
X.include <bsd.port.mk>
cef89b27799483972a0df749b3af70bf
echo x - puckman/pkg-descr
sed 's/^X//' >puckman/pkg-descr << '393a41fb7184e56fd2c8da8b472e5e63'
XThis game is an unofficial clone of the original Pac-Man game
Xand is not endorsed by the registered trademark owners Namco, Inc.
X
XWWW: https://github.com/patapizza/puckman
393a41fb7184e56fd2c8da8b472e5e63
echo x - puckman/distinfo
sed 's/^X//' >puckman/distinfo << '040b09250fabd6ac811e48e53fff44f9'
XSHA256 (patapizza-puckman-1.0.tar.gz) = 995e90845993600ed6693f4a857cf6b0d6e9dc431ccea35c6b9243830f73e86a
XSIZE (patapizza-puckman-1.0.tar.gz) = 191432
040b09250fabd6ac811e48e53fff44f9
echo c - puckman/files
mkdir -p puckman/files > /dev/null 2>&1
echo x - puckman/files/patch-Makefile
sed 's/^X//' >puckman/files/patch-Makefile << '042f1bbabbf668df5062f33ef7d9a7ac'
X--- Makefile.orig 2012-08-16 19:32:29.000000000 +0200
X+++ Makefile 2012-08-16 20:12:01.000000000 +0200
X@@ -1,10 +1,10 @@
X-BIN = $(DESTDIR)/usr/bin
X-ICONS = $(DESTDIR)/usr/share/puckman/images
X-ICON = $(DESTDIR)/usr/share/pixmaps
X-SYMICON = $(DESTDIR)/usr/share/icons/hicolor/48x48/apps
X+BIN = $(DESTDIR)/usr/local/bin
X+ICONS = $(DESTDIR)/usr/local/share/puckman/images
X+ICON = $(DESTDIR)/usr/local/share/pixmaps
X+SYMICON = $(DESTDIR)/usr/local/share/icons/hicolor/48x48/apps
X SHELL = /bin/sh
X CC = g++
X-prefix = /usr
X+prefix = /usr/local
X includedir = $(prefix)/include
X pacdir = ~/.puckman
X puckman: puckman.c
X@@ -23,4 +23,4 @@
X
X uninstall:
X rm -vr $(ICONS) $(BIN)/puckman $(ICON)/puckman.png $(SYMICON)/puckman.png
X- if test -e $(DESTDIR)/usr/share/applications/puckman.desktop; then rm -v $(DESTDIR)/usr/share/applications/puckman.desktop; fi
X+ if test -e $(DESTDIR)/usr/local/share/applications/puckman.desktop; then rm -v $(DESTDIR)/usr/local/share/applications/puckman.desktop; fi
042f1bbabbf668df5062f33ef7d9a7ac
echo x - puckman/files/patch-puckman.c
sed 's/^X//' >puckman/files/patch-puckman.c << '88b5f5fa5478eb1e48fb4166dc328d03'
X--- puckman.c.orig 2012-08-16 19:32:29.000000000 +0200
X+++ puckman.c 2012-08-16 20:11:00.000000000 +0200
X@@ -29,7 +29,7 @@
X #include <SDL_image.h>
X #include <SDL_gfxPrimitives.h>
X
X-#define PACPATH "/usr/share/puckman/"
X+#define PACPATH "/usr/local/share/puckman/"
X #define SCREEN_WIDTH 461
X #define SCREEN_HEIGHT 580
X #define RIGHT 0
88b5f5fa5478eb1e48fb4166dc328d03
exit
--- .shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list