aboutsummaryrefslogtreecommitdiff
path: root/games/magiccube4d
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-06 21:12:36 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-06 21:12:36 +0000
commitecbf66eb2d817a41b94dd0557bab97a6ff81caef (patch)
treecc98e0c7ed0ca04149ad6bb1dbf6124457576311 /games/magiccube4d
parent0dad01fb181416943a18ea452b88da266bf148ee (diff)
downloadports-ecbf66eb2d817a41b94dd0557bab97a6ff81caef.tar.gz
ports-ecbf66eb2d817a41b94dd0557bab97a6ff81caef.zip
Notes
Diffstat (limited to 'games/magiccube4d')
-rw-r--r--games/magiccube4d/Makefile19
-rw-r--r--games/magiccube4d/distinfo2
-rw-r--r--games/magiccube4d/pkg-plist12
3 files changed, 17 insertions, 16 deletions
diff --git a/games/magiccube4d/Makefile b/games/magiccube4d/Makefile
index 98e2386feca2..ed77bbf85f73 100644
--- a/games/magiccube4d/Makefile
+++ b/games/magiccube4d/Makefile
@@ -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@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>
diff --git a/games/magiccube4d/distinfo b/games/magiccube4d/distinfo
index 1bdc8a416d8c..3206a69c2d68 100644
--- a/games/magiccube4d/distinfo
+++ b/games/magiccube4d/distinfo
@@ -1 +1 @@
-MD5 (mc4d-src-2_1.tgz) = b718f635df7644e20126f2ba3c11701a
+MD5 (mc4d-src-2_2.tgz) = 7ed3dd076dd71045b77b8b6c8d9afd7e
diff --git a/games/magiccube4d/pkg-plist b/games/magiccube4d/pkg-plist
index e1f85f232166..72b863dd49eb 100644
--- a/games/magiccube4d/pkg-plist
+++ b/games/magiccube4d/pkg-plist
@@ -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
-@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%%