Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 14:27:19 +0200 (CEST)
From:      Janos Mohacsi <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68510: New port: games/polypuzzle version 1.5.1 
Message-ID:  <200406301227.i5UCRJKk038669@skye.ki.iif.hu>
Resent-Message-ID: <200406301230.i5UCUJ27023901@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68510
>Category:       ports
>Synopsis:       New port: games/polypuzzle version 1.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 12:30:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 4.10-PRERELEASE i386
>Organization:
NIIF
>Environment:
System: FreeBSD skye.ki.iif.hu 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #7: Thu May 20 13:27:41 CEST 2004 root@skye.ki.iif.hu:/usr/obj/mirror/src/sys/SKYE i386

>Description:
	New port: games/ploypuzzle version 1.5.1
	polygon puzzle 
>How-To-Repeat:
	Apply this shar.
>Fix:

# 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:
#
#	polypuzzle/
#	polypuzzle/pkg-descr
#	polypuzzle/distinfo
#	polypuzzle/Makefile
#	polypuzzle/files
#	polypuzzle/files/patch-polypuzzle
#	polypuzzle/pkg-plist
#
echo c - polypuzzle/
mkdir -p polypuzzle/ > /dev/null 2>&1
echo x - polypuzzle/pkg-descr
sed 's/^X//' >polypuzzle/pkg-descr << 'END-of-polypuzzle/pkg-descr'
XTessellation puzzle inspired by Beat The Computer.
XPuzzles implemented include several based on
Xsquares, hexagons and equilateral triangles.
X
XWWW: ftp://ibiblio.org/pub/Linux/games/
END-of-polypuzzle/pkg-descr
echo x - polypuzzle/distinfo
sed 's/^X//' >polypuzzle/distinfo << 'END-of-polypuzzle/distinfo'
XMD5 (polypuzzle-1.5.1.tgz) = 02c8d6ed7ff40930cf9362b88fbf9f8d
XSIZE (polypuzzle-1.5.1.tgz) = 14385
END-of-polypuzzle/distinfo
echo x - polypuzzle/Makefile
sed 's/^X//' >polypuzzle/Makefile << 'END-of-polypuzzle/Makefile'
X# New ports collection makefile for:	polypuzzle
X# Date created:		30 June 2004
X# Whom:			janos.mohacsi@bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	polypuzzle
XPORTVERSION=	1.5.1
XCATEGORIES=	games tcl84 tk84
XMASTER_SITES=	ftp://ibiblio.org/pub/Linux/games/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	Tessellation puzzle game
X
XRUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XUSE_REINPLACE=	yes
XNO_BUILD=	yes
X
XDOC_FILES=	About Bugs Changelog Copyright Install Math Readme Thanks Todo
XDATA_FILES=	menus pieces.3x20 pieces.783 pieces.bonus pieces.colours \
X		pieces.flower pieces.large pieces.medium pieces.monster \
X		pieces.small pieces.square pieces.star pieces.triangle
X
Xpre-install:
X	 @${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/polypuzzle
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/polypuzzle ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X.for file in ${DATA_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
X.endfor
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-polypuzzle/Makefile
echo c - polypuzzle/files
mkdir -p polypuzzle/files > /dev/null 2>&1
echo x - polypuzzle/files/patch-polypuzzle
sed 's/^X//' >polypuzzle/files/patch-polypuzzle << 'END-of-polypuzzle/files/patch-polypuzzle'
X
X$FreeBSD$
X
X--- polypuzzle.orig	Fri Jun 18 11:51:04 2004
X+++ polypuzzle	Wed Jun 30 13:46:07 2004
X@@ -1,8 +1,8 @@
X #/bin/sh
X # the next line restarts using tclsh \
X-exec wish "$0" "$@"
X+exec wish8.4 "$0" "$@"
X 
X-if {[file isdirectory /usr/local/lib/polypuzzle]} {cd  /usr/local/lib/polypuzzle}
X+if {[file isdirectory %%DATADIR%%]} {cd  %%DATADIR%%}
X 
X source pieces.colours
X set colour(bg)  azure3		;# background colour
END-of-polypuzzle/files/patch-polypuzzle
echo x - polypuzzle/pkg-plist
sed 's/^X//' >polypuzzle/pkg-plist << 'END-of-polypuzzle/pkg-plist'
Xbin/polypuzzle
X%%DATADIR%%/menus
X%%DATADIR%%/pieces.3x20
X%%DATADIR%%/pieces.783
X%%DATADIR%%/pieces.bonus
X%%DATADIR%%/pieces.colours
X%%DATADIR%%/pieces.flower
X%%DATADIR%%/pieces.large
X%%DATADIR%%/pieces.medium
X%%DATADIR%%/pieces.monster
X%%DATADIR%%/pieces.small
X%%DATADIR%%/pieces.square
X%%DATADIR%%/pieces.star
X%%DATADIR%%/pieces.triangle
X%%PORTDOCS%%%%DOCSDIR%%/About
X%%PORTDOCS%%%%DOCSDIR%%/Bugs
X%%PORTDOCS%%%%DOCSDIR%%/Changelog
X%%PORTDOCS%%%%DOCSDIR%%/Copyright
X%%PORTDOCS%%%%DOCSDIR%%/Install
X%%PORTDOCS%%%%DOCSDIR%%/Math
X%%PORTDOCS%%%%DOCSDIR%%/Readme
X%%PORTDOCS%%%%DOCSDIR%%/Thanks
X%%PORTDOCS%%%%DOCSDIR%%/Todo
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%
END-of-polypuzzle/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406301227.i5UCRJKk038669>