From owner-freebsd-ports Thu Jan 25 17:15: 1 2001 Delivered-To: freebsd-ports@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 8331C37B6A3; Thu, 25 Jan 2001 17:14:38 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id E18693E0C; Thu, 25 Jan 2001 17:14:35 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id DFCE53C10A; Thu, 25 Jan 2001 17:14:35 -0800 (PST) To: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/24374: New port: a display-based tetris game In-Reply-To: Message from asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) of "Mon, 22 Jan 2001 00:29:51 PST." Date: Thu, 25 Jan 2001 17:14:30 -0800 From: Dima Dorfman Message-Id: <20010126011435.E18693E0C@bazooka.unixfreak.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > * From: Dima Dorfman > > * Very well. Should I just rename the port, or devise a way (regexp, > * patches, or otherwise) to replace all occurrences of the word 'tetris' > * in any files fetched? It seems the other ports mostly prefer the > * former; some (most?) even have 'tetris' in their comment and > * description. > > The complaint was about file names, but changing the contents would be > safer. Okay. Attached is a patch which renames the port to Sirtet, including the files and contents. Downloaded files still have 'tetris' is them (it's a CVS checkout), but nothing that's installed on the user's system does. The new shell archive is also available at http://www.unixfreak.org/~dima/home/sirtet.shar Thanks in advance Dima Dorfman dima@unixfreak.org diff -ru tetris/Makefile sirtet/Makefile --- tetris/Makefile Tue Jan 23 20:33:00 2001 +++ sirtet/Makefile Tue Jan 23 20:14:08 2001 @@ -1,11 +1,11 @@ -# New ports collection makefile for: tetris -# Date created: 15 January 2001 +# New ports collection makefile for: sirtet +# Date created: 23 January 2001 # Whom: Dima Dorfman # # $FreeBSD$ # -PORTNAME= tetris +PORTNAME= sirtet # This software isn't in active development, so there are no version numbers PORTVERSION= 20010114 CATEGORIES= games @@ -26,6 +26,8 @@ CVS_SITES?= anoncvs@anoncvs3.usa.openbsd.org:/cvs \ anoncvs@anoncvs1.ca.openbsd.org:/cvs CVS_MODULE= src/games/tetris +# Out of place, but oh well +SRCFILES!= ${SED} 's;^${CVS_MODULE}/\(.*\)$$;\1;g' ${FILESDIR}/distfiles # # fetch targets @@ -97,11 +99,21 @@ @${CP} -r ${DISTDIR}/${PKGNAME}/${CVS_MODULE} ${WRKSRC} # +# tetris->sirtet hackery (yuck) +# +post-patch: + @cd ${WRKSRC} && \ + ${PERL} -pi -e 's/tetris/sirtet/g; s/Tetris/Sirtet/g;' ${SRCFILES} +.for FILE in ${SRCFILES} + @cd ${WRKSRC} && ${MV} ${FILE} ${FILE:S/tetris/sirtet/} +.endfor + +# # The package has its own `make install`, but apparently it uses bad # install(1) syntax. This was easier than a patch. # do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tetris ${PREFIX}/bin/tetris - ${INSTALL_MAN} ${WRKSRC}/tetris.6 ${MANPREFIX}/man/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/sirtet ${PREFIX}/bin/sirtet + ${INSTALL_MAN} ${WRKSRC}/sirtet.6 ${MANPREFIX}/man/man6 .include diff -ru tetris/distinfo sirtet/distinfo --- tetris/distinfo Tue Jan 23 20:33:00 2001 +++ sirtet/distinfo Tue Jan 23 19:55:28 2001 @@ -1,26 +1,26 @@ -MD5 (tetris-20010114.tar.gz) = 381f90c64da21bf118d5beae6997199b -MD5 (tetris-20010114/src/games/tetris/Makefile) = c7fa8012078dac9d5544d629d695d21c -MD5 (tetris-20010114/src/games/tetris/input.c) = 46bbc5e74d4e7e52549e1c5d616fe923 -MD5 (tetris-20010114/src/games/tetris/input.h) = c06a10953f21e3f72a4dd4039e65ed94 -MD5 (tetris-20010114/src/games/tetris/pathnames.h) = 213c151b8d237dc0427a0f48a0452eef -MD5 (tetris-20010114/src/games/tetris/scores.c) = 48a1d4a6b004df1eaddcd5bc8e3670b1 -MD5 (tetris-20010114/src/games/tetris/scores.h) = f432d52139461e07733089db3fcb7001 -MD5 (tetris-20010114/src/games/tetris/screen.c) = e97c5bb408e8b75842933fa549f15cd1 -MD5 (tetris-20010114/src/games/tetris/screen.h) = 11b999e951a51acf94270ec58eabe02d -MD5 (tetris-20010114/src/games/tetris/shapes.c) = c832cc90b9a6137f90c12f6c03d7f44a -MD5 (tetris-20010114/src/games/tetris/tetris.6) = 0b8abfc2c0380ab7a913015aaa3b3e2f -MD5 (tetris-20010114/src/games/tetris/tetris.c) = 74220f472ac191bcaa40546e38b90fca -MD5 (tetris-20010114/src/games/tetris/tetris.h) = 49d88635660cf1626eb7ffc810a60a5f -MD5 (tetris-20010114/src/CVS/Root) = IGNORE -MD5 (tetris-20010114/src/CVS/Repository) = IGNORE -MD5 (tetris-20010114/src/CVS/Entries) = IGNORE -MD5 (tetris-20010114/src/CVS/Entries.Static) = IGNORE -MD5 (tetris-20010114/src/games/CVS/Root) = IGNORE -MD5 (tetris-20010114/src/games/CVS/Repository) = IGNORE -MD5 (tetris-20010114/src/games/CVS/Entries) = IGNORE -MD5 (tetris-20010114/src/games/CVS/Entries.Static) = IGNORE -MD5 (tetris-20010114/src/games/tetris/CVS) = IGNORE -MD5 (tetris-20010114/src/games/tetris/CVS/Root) = IGNORE -MD5 (tetris-20010114/src/games/tetris/CVS/Repository) = IGNORE -MD5 (tetris-20010114/src/games/tetris/CVS/Entries) = IGNORE -MD5 (tetris-20010114/src/games/tetris/CVS/Tag) = IGNORE +MD5 (sirtet-20010114.tar.gz) = 381f90c64da21bf118d5beae6997199b +MD5 (sirtet-20010114/src/games/tetris/Makefile) = c7fa8012078dac9d5544d629d695d21c +MD5 (sirtet-20010114/src/games/tetris/input.c) = 46bbc5e74d4e7e52549e1c5d616fe923 +MD5 (sirtet-20010114/src/games/tetris/input.h) = c06a10953f21e3f72a4dd4039e65ed94 +MD5 (sirtet-20010114/src/games/tetris/pathnames.h) = 213c151b8d237dc0427a0f48a0452eef +MD5 (sirtet-20010114/src/games/tetris/scores.c) = 48a1d4a6b004df1eaddcd5bc8e3670b1 +MD5 (sirtet-20010114/src/games/tetris/scores.h) = f432d52139461e07733089db3fcb7001 +MD5 (sirtet-20010114/src/games/tetris/screen.c) = e97c5bb408e8b75842933fa549f15cd1 +MD5 (sirtet-20010114/src/games/tetris/screen.h) = 11b999e951a51acf94270ec58eabe02d +MD5 (sirtet-20010114/src/games/tetris/shapes.c) = c832cc90b9a6137f90c12f6c03d7f44a +MD5 (sirtet-20010114/src/games/tetris/tetris.6) = 0b8abfc2c0380ab7a913015aaa3b3e2f +MD5 (sirtet-20010114/src/games/tetris/tetris.c) = 74220f472ac191bcaa40546e38b90fca +MD5 (sirtet-20010114/src/games/tetris/tetris.h) = 49d88635660cf1626eb7ffc810a60a5f +MD5 (sirtet-20010114/src/CVS/Root) = IGNORE +MD5 (sirtet-20010114/src/CVS/Repository) = IGNORE +MD5 (sirtet-20010114/src/CVS/Entries) = IGNORE +MD5 (sirtet-20010114/src/CVS/Entries.Static) = IGNORE +MD5 (sirtet-20010114/src/games/CVS/Root) = IGNORE +MD5 (sirtet-20010114/src/games/CVS/Repository) = IGNORE +MD5 (sirtet-20010114/src/games/CVS/Entries) = IGNORE +MD5 (sirtet-20010114/src/games/CVS/Entries.Static) = IGNORE +MD5 (sirtet-20010114/src/games/tetris/CVS) = IGNORE +MD5 (sirtet-20010114/src/games/tetris/CVS/Root) = IGNORE +MD5 (sirtet-20010114/src/games/tetris/CVS/Repository) = IGNORE +MD5 (sirtet-20010114/src/games/tetris/CVS/Entries) = IGNORE +MD5 (sirtet-20010114/src/games/tetris/CVS/Tag) = IGNORE diff -ru tetris/pkg-comment sirtet/pkg-comment --- tetris/pkg-comment Tue Jan 23 20:33:00 2001 +++ sirtet/pkg-comment Tue Jan 23 20:03:31 2001 @@ -1 +1 @@ -A display-based Tetris game +A display-based Tetris-like game diff -ru tetris/pkg-descr sirtet/pkg-descr --- tetris/pkg-descr Tue Jan 23 20:33:00 2001 +++ sirtet/pkg-descr Tue Jan 23 20:04:36 2001 @@ -1,7 +1,7 @@ -The tetris command runs a display-based game. The object is to fit -shapes together to form complete rows, which then vanish. When the -shapes fill up to the top, the game ends. You can optionally select a -level of play or custom-select control keys. +Sirtet is a display-based (i.e., non-X) tetris-like game. The object +is to fit shapes together to form compelte rows, which then vanish. +When the shapes fill up to the top, the game ends. You can optionally +select a level of play or custom-select control keys. Dima Dorfman dima@unixfreak.org diff -ru tetris/pkg-plist sirtet/pkg-plist --- tetris/pkg-plist Tue Jan 23 20:33:00 2001 +++ sirtet/pkg-plist Tue Jan 23 19:58:52 2001 @@ -1 +1 @@ -bin/tetris +bin/sirtet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message