ports/53436: [PATCH] games/magiccube4d to 2.2

Sergey A.Osokin osa at FreeBSD.org
Wed Jun 18 08:20:17 UTC 2003


>Number:         53436
>Category:       ports
>Synopsis:       [PATCH] games/magiccube4d to 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 01:20:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD 4.8-STABLE i386

>Description:
	games/magiccube4d to 2.2
	Fix COMMENT
	Reorganization Makefile and pkg-plist (save a little bytes)
>How-To-Repeat:
>Fix:

Index: ports/games/magiccube4d/Makefile
===================================================================
RCS file: /home/pcvs/ports/games/magiccube4d/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- ports/games/magiccube4d/Makefile	21 Feb 2003 12:05:49 -0000	1.4
+++ ports/games/magiccube4d/Makefile	17 Jun 2003 14:02:05 -0000
@@ -6,28 +6,29 @@
 #
 
 PORTNAME=	magiccube4d
-PORTVERSION=	2.1
+PORTVERSION=	2.2
 CATEGORIES=	games
 MASTER_SITES=	http://www.superliminal.com/cube/
 DISTNAME=	mc4d-src-${PORTVERSION:S/./_/}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	karlj000 at unbc.ca
-COMMENT=	MagicCube4D is a fully functional four-dimensional analog of Rubik's cube
+COMMENT=	MagicCube4D is a four-dimensional analog of Rubik's cube
 
 USE_X_PREFIX=	yes
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
+DOCS=		ChangeLog Intro.txt MagicCube4D-unix.txt \
+		ideas.txt readme-unix.txt
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/doc/magiccube4d
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/magiccube4d
-	${INSTALL_DATA} ${WRKSRC}/Intro.txt ${PREFIX}/share/doc/magiccube4d
-	${INSTALL_DATA} ${WRKSRC}/MagicCube4D-unix.txt ${PREFIX}/share/doc/magiccube4d
-	${INSTALL_DATA} ${WRKSRC}/ideas.txt ${PREFIX}/share/doc/magiccube4d
-	${INSTALL_DATA} ${WRKSRC}/readme-unix.txt ${PREFIX}/share/doc/magiccube4d
+.if !defined(NOPORTDOCS)
+	@${INSTALL} -d -m 0755 ${DOCSDIR}
+.for f in ${DOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
+.endif
 
 .include <bsd.port.mk>
Index: ports/games/magiccube4d/distinfo
===================================================================
RCS file: /home/pcvs/ports/games/magiccube4d/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- ports/games/magiccube4d/distinfo	24 Aug 2001 13:16:43 -0000	1.2
+++ ports/games/magiccube4d/distinfo	17 Jun 2003 14:02:13 -0000
@@ -1 +1 @@
-MD5 (mc4d-src-2_1.tgz) = b718f635df7644e20126f2ba3c11701a
+MD5 (mc4d-src-2_2.tgz) = 7ed3dd076dd71045b77b8b6c8d9afd7e
Index: ports/games/magiccube4d/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/games/magiccube4d/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- ports/games/magiccube4d/pkg-plist	26 Oct 2000 02:05:11 -0000	1.1
+++ ports/games/magiccube4d/pkg-plist	17 Jun 2003 14:01:58 -0000
@@ -1,7 +1,7 @@
 bin/magiccube4d
-share/doc/magiccube4d/ChangeLog
-share/doc/magiccube4d/Intro.txt
-share/doc/magiccube4d/MagicCube4D-unix.txt
-share/doc/magiccube4d/ideas.txt
-share/doc/magiccube4d/readme-unix.txt
- at dirrm share/doc/magiccube4d
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/Intro.txt
+%%PORTDOCS%%%%DOCSDIR%%/MagicCube4D-unix.txt
+%%PORTDOCS%%%%DOCSDIR%%/ideas.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-unix.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list