aboutsummaryrefslogtreecommitdiffstats
path: root/games/crafty
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-27 20:06:07 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-27 20:06:07 +0800
commit2df3d043e3c006bb32f338d47f9459fc40202573 (patch)
treeb1230fef465d380864574fc360424bfc0aaf1037 /games/crafty
parent6f83103f717dc4bc5a1917022311dcfb9f43b808 (diff)
downloadfreebsd-ports-gnome-2df3d043e3c006bb32f338d47f9459fc40202573.tar.gz
freebsd-ports-gnome-2df3d043e3c006bb32f338d47f9459fc40202573.tar.zst
freebsd-ports-gnome-2df3d043e3c006bb32f338d47f9459fc40202573.zip
Make documentation fetchable.
Submitted by: bento
Diffstat (limited to 'games/crafty')
-rw-r--r--games/crafty/Makefile16
-rw-r--r--games/crafty/distinfo3
-rw-r--r--games/crafty/pkg-plist3
3 files changed, 11 insertions, 11 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 721aac14471b..8973a04f0452 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -14,7 +14,8 @@ MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/ \
ftp://ftp.jpunix.com/pub/hyatt/ \
ftp://ftp.jpunix.com/pub/hyatt/common/ \
ftp://ftp.jpunix.com/pub/hyatt/v18/
-DISTFILES= crafty-${PORTVERSION}.tar.gz crafty.doc crafty.faq read.me start.zip
+DISTFILES= crafty-${PORTVERSION}.tar.gz crafty.doc.ascii crafty.doc.ps \
+ crafty.faq read.me start.zip
MAINTAINER= seggers@semyam.dinoco.de
@@ -25,7 +26,7 @@ ALL_TARGET= freebsd-generic
.endif
DIST_SUBDIR= crafty
EXTRACT_ONLY= crafty-${PORTVERSION}.tar.gz
-IGNOREFILES= crafty.doc crafty.faq read.me
+IGNOREFILES= crafty.faq read.me
MAN6= crafty.6
NO_WRKSUBDIR= yes
@@ -42,13 +43,10 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/books.bin ${PREFIX}/lib/crafty/books.bin
${INSTALL_MAN} ${FILESDIR}/crafty.6 ${MANPREFIX}/man/man6/crafty.6
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/crafty
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crafty.doc ${PREFIX}/share/doc/crafty/crafty.doc
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crafty.faq ${PREFIX}/share/doc/crafty/crafty.faq
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/read.me ${PREFIX}/share/doc/crafty/read.me
+ ${MKDIR} ${DOCSDIR}
+.for file in crafty.doc.ascii crafty.doc.ps crafty.faq read.me
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${DOCSDIR}
+.endfor
.endif
-post-install:
- strip ${PREFIX}/bin/crafty
-
.include <bsd.port.mk>
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 2835465a3cdd..e9573234da63 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,5 +1,6 @@
MD5 (crafty/crafty-18.9.tar.gz) = 439b591eb48957ce50bfd31f9bada8fb
+MD5 (crafty/crafty.doc.ascii) = 5fd73027a1de1674763562e1987197ba
+MD5 (crafty/crafty.doc.ps) = 6cef69aa2f9ea1ceb74b6c14edc8291f
MD5 (crafty/start.zip) = 7a9faa5c4c0af5a2defa4dca942daf3d
-MD5 (crafty/crafty.doc) = IGNORE
MD5 (crafty/crafty.faq) = IGNORE
MD5 (crafty/read.me) = IGNORE
diff --git a/games/crafty/pkg-plist b/games/crafty/pkg-plist
index 9fad6f8cd495..e48c24aa09ab 100644
--- a/games/crafty/pkg-plist
+++ b/games/crafty/pkg-plist
@@ -1,6 +1,7 @@
bin/crafty
lib/crafty/books.bin
-share/doc/crafty/crafty.doc
+share/doc/crafty/crafty.doc.ascii
+share/doc/crafty/crafty.doc.ps
share/doc/crafty/crafty.faq
share/doc/crafty/read.me
@dirrm share/doc/crafty