ports/136047: Update port: games/rocksndiamonds to 3.2.6.1

KATO Tsuguru tkato432 at yahoo.com
Thu Jun 25 18:10:04 UTC 2009


>Number:         136047
>Category:       ports
>Synopsis:       Update port: games/rocksndiamonds to 3.2.6.1
>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 Jun 25 18:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.2-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 3.2.6.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/rocksndiamonds/Makefile games/rocksndiamonds/Makefile
--- /usr/ports/games/rocksndiamonds/Makefile	2008-11-20 01:35:31.000000000 +0900
+++ games/rocksndiamonds/Makefile	2009-06-20 01:56:53.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	rocksndiamonds
-PORTVERSION=	3.2.6.0
+PORTVERSION=	3.2.6.1
 CATEGORIES=	games
 MASTER_SITES=	http://www.artsoft.org/RELEASES/unix/rocksndiamonds/ \
 		http://homepages.compuserve.de/rocksndiamonds/
@@ -32,15 +32,15 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's:sdl-config:$${SDL_CONFIG}:g' ${WRKSRC}/src/Makefile
+		's|sdl-config|$${SDL_CONFIG}|g' ${WRKSRC}/src/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 ${MANPREFIX}/man/man1
 	@${MKDIR} ${DATADIR}
-	${TAR} -C ${WRKSRC} -cf - graphics levels music scores sounds | \
-		${TAR} -C ${DATADIR} -xf -
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+.for dir in graphics levels music scores sounds
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR})
+.endfor
 	@${CHMOD} 777 ${DATADIR}/scores
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
diff -urN /usr/ports/games/rocksndiamonds/distinfo games/rocksndiamonds/distinfo
--- /usr/ports/games/rocksndiamonds/distinfo	2008-11-20 01:35:31.000000000 +0900
+++ games/rocksndiamonds/distinfo	2009-06-19 20:23:04.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (rocksndiamonds-3.2.6.0.tar.gz) = e66ad4b40659e9ad19277043638d3607
-SHA256 (rocksndiamonds-3.2.6.0.tar.gz) = ef3a91a7a0f5dd42b407cd4c503174cd214a07634225dcca5fa05f7cc683c888
-SIZE (rocksndiamonds-3.2.6.0.tar.gz) = 3471530
+MD5 (rocksndiamonds-3.2.6.1.tar.gz) = 75a4a7c7f11e89fc4a664da3b016a783
+SHA256 (rocksndiamonds-3.2.6.1.tar.gz) = bd38ae60ddeadb11c6bab876ad861b373139deca8c6dafdeae3f640051949d6c
+SIZE (rocksndiamonds-3.2.6.1.tar.gz) = 3473786
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list