summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-10-02 12:03:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-10-02 12:03:05 +0000
commit1c5cd3688a9e10bb8ab9783228d4181c55ab9e08 (patch)
tree037bd6c1998c130b3eebec6feac08bf9f2afec3e /games
parentReplace my ancient manual NOPORTDOCS handling with the standard procedure. (diff)
- Update to 0.0.6e4f5.
- Update MAINTAINER's mail address. - Support NOPORTDOCS. PR: ports/30964 Submitted by: Adam Kranzel <adam@blacktabby.org> - Use DOCSDIR and PORTVERSION where appropriate.
Notes
Notes: svn path=/head/; revision=48341
Diffstat (limited to '')
-rw-r--r--games/slashem-tty/Makefile16
-rw-r--r--games/slashem-tty/distinfo2
-rw-r--r--games/slashem-tty/pkg-plist9
-rw-r--r--games/unnethack/Makefile16
-rw-r--r--games/unnethack/distinfo2
-rw-r--r--games/unnethack/pkg-plist9
6 files changed, 26 insertions, 28 deletions
diff --git a/games/slashem-tty/Makefile b/games/slashem-tty/Makefile
index d0069ca6f487..cb790c206cb4 100644
--- a/games/slashem-tty/Makefile
+++ b/games/slashem-tty/Makefile
@@ -6,19 +6,19 @@
#
PORTNAME= slashem
-PORTVERSION= 0.0.6E.4F.4
+PORTVERSION= 0.0.6E.4F.5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -tty
-DISTNAME= se006e4f4
+DISTNAME= se${PORTVERSION:S/.//g:L}
-MAINTAINER= adam@alameda.edu
+MAINTAINER= adam@blacktabby.org
USE_GMAKE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6
-WRKSRC= ${WRKDIR}/slashem-0.0.6E4F4
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g}
post-patch:
${PERL} -pi -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h
@@ -31,10 +31,10 @@ post-install:
@cp ${WRKSRC}/doc/slashem.6 ${WRKSRC}/doc/slashem${PKGNAMESUFFIX}.6
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
- ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
- ${CP} ${WRKSRC}/slamfaq.txt ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
- ${CP} ${FILESDIR}/sample.slashemrc ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
+ ${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${WRKSRC}/slamfaq.txt ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${FILESDIR}/sample.slashemrc ${DOCSDIR}${PKGNAMESUFFIX}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/games/slashem-tty/distinfo b/games/slashem-tty/distinfo
index f1dd5ec33b99..6b80f28c883e 100644
--- a/games/slashem-tty/distinfo
+++ b/games/slashem-tty/distinfo
@@ -1 +1 @@
-MD5 (se006e4f4.tar.gz) = 7899a948c64ed4d4e716c1080e1bb980
+MD5 (se006e4f5.tar.gz) = ab03bfcc47f71bcfbb943102a6cb36cb
diff --git a/games/slashem-tty/pkg-plist b/games/slashem-tty/pkg-plist
index 42653619b357..a6c94e2e755c 100644
--- a/games/slashem-tty/pkg-plist
+++ b/games/slashem-tty/pkg-plist
@@ -5,10 +5,9 @@ share/slashem-tty/slashem-tty
@exec chmod 2755 %D/share/slashem-tty/save
@exec chown games:games %D/share/slashem-tty/save
@unexec rm -rf %D/share/slashem-tty/save
-@exec chmod -R 775 %D/share/doc/slashem-tty
-share/doc/slashem-tty/Guidebook.txt
-share/doc/slashem-tty/slamfaq.txt
-share/doc/slashem-tty/sample.slashemrc
+%%PORTDOCS%%share/doc/slashem-tty/Guidebook.txt
+%%PORTDOCS%%share/doc/slashem-tty/slamfaq.txt
+%%PORTDOCS%%share/doc/slashem-tty/sample.slashemrc
share/slashem-tty/license
share/slashem-tty/nhshare
share/slashem-tty/nhushare
@@ -17,4 +16,4 @@ share/slashem-tty/logfile
share/slashem-tty/record
share/slashem-tty/perm
@dirrm share/slashem-tty
-@dirrm share/doc/slashem-tty
+%%PORTDOCS%%@dirrm share/doc/slashem-tty
diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile
index d0069ca6f487..cb790c206cb4 100644
--- a/games/unnethack/Makefile
+++ b/games/unnethack/Makefile
@@ -6,19 +6,19 @@
#
PORTNAME= slashem
-PORTVERSION= 0.0.6E.4F.4
+PORTVERSION= 0.0.6E.4F.5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -tty
-DISTNAME= se006e4f4
+DISTNAME= se${PORTVERSION:S/.//g:L}
-MAINTAINER= adam@alameda.edu
+MAINTAINER= adam@blacktabby.org
USE_GMAKE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6
-WRKSRC= ${WRKDIR}/slashem-0.0.6E4F4
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g}
post-patch:
${PERL} -pi -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h
@@ -31,10 +31,10 @@ post-install:
@cp ${WRKSRC}/doc/slashem.6 ${WRKSRC}/doc/slashem${PKGNAMESUFFIX}.6
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
- ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
- ${CP} ${WRKSRC}/slamfaq.txt ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
- ${CP} ${FILESDIR}/sample.slashemrc ${PREFIX}/share/doc/slashem${PKGNAMESUFFIX}
+ ${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${WRKSRC}/slamfaq.txt ${DOCSDIR}${PKGNAMESUFFIX}
+ ${INSTALL_MAN} ${FILESDIR}/sample.slashemrc ${DOCSDIR}${PKGNAMESUFFIX}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/games/unnethack/distinfo b/games/unnethack/distinfo
index f1dd5ec33b99..6b80f28c883e 100644
--- a/games/unnethack/distinfo
+++ b/games/unnethack/distinfo
@@ -1 +1 @@
-MD5 (se006e4f4.tar.gz) = 7899a948c64ed4d4e716c1080e1bb980
+MD5 (se006e4f5.tar.gz) = ab03bfcc47f71bcfbb943102a6cb36cb
diff --git a/games/unnethack/pkg-plist b/games/unnethack/pkg-plist
index 42653619b357..a6c94e2e755c 100644
--- a/games/unnethack/pkg-plist
+++ b/games/unnethack/pkg-plist
@@ -5,10 +5,9 @@ share/slashem-tty/slashem-tty
@exec chmod 2755 %D/share/slashem-tty/save
@exec chown games:games %D/share/slashem-tty/save
@unexec rm -rf %D/share/slashem-tty/save
-@exec chmod -R 775 %D/share/doc/slashem-tty
-share/doc/slashem-tty/Guidebook.txt
-share/doc/slashem-tty/slamfaq.txt
-share/doc/slashem-tty/sample.slashemrc
+%%PORTDOCS%%share/doc/slashem-tty/Guidebook.txt
+%%PORTDOCS%%share/doc/slashem-tty/slamfaq.txt
+%%PORTDOCS%%share/doc/slashem-tty/sample.slashemrc
share/slashem-tty/license
share/slashem-tty/nhshare
share/slashem-tty/nhushare
@@ -17,4 +16,4 @@ share/slashem-tty/logfile
share/slashem-tty/record
share/slashem-tty/perm
@dirrm share/slashem-tty
-@dirrm share/doc/slashem-tty
+%%PORTDOCS%%@dirrm share/doc/slashem-tty