aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mixal
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2003-02-14 21:07:33 +0800
committermarkp <markp@FreeBSD.org>2003-02-14 21:07:33 +0800
commitead8511387f10426139df78ef83240f1d95a869e (patch)
tree432b8425bd5b19699070e96956e41194cfee3fbc /lang/mixal
parent1ac430d659b8c89dcd215eb3e92f74dc1dad0709 (diff)
downloadfreebsd-ports-gnome-ead8511387f10426139df78ef83240f1d95a869e.tar.gz
freebsd-ports-gnome-ead8511387f10426139df78ef83240f1d95a869e.tar.zst
freebsd-ports-gnome-ead8511387f10426139df78ef83240f1d95a869e.zip
Add PORTDOCS support.
PR: 47489 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'lang/mixal')
-rw-r--r--lang/mixal/Makefile16
-rw-r--r--lang/mixal/pkg-plist16
2 files changed, 14 insertions, 18 deletions
diff --git a/lang/mixal/Makefile b/lang/mixal/Makefile
index 7e5aa91aabcf..017f49013a6b 100644
--- a/lang/mixal/Makefile
+++ b/lang/mixal/Makefile
@@ -9,24 +9,20 @@
PORTNAME= mixal
PORTVERSION= 1.07
CATEGORIES= lang
-MASTER_SITES= http://www.tuxedo.org/~esr/retro/ \
+MASTER_SITES= http://www.catb.org/~esr/retro/ \
http://dl.droso.net/ports/
MAINTAINER= ports@FreeBSD.org
-ALL_TARGET=
-
-DOCDIR= ${PREFIX}/share/doc/mix
+ALL_TARGET= # none
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mix ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/READ.ME ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/MIX.DOC ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/NOTES ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/opcodes ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mix ${DOCDIR}
+ @${MKDIR} ${DOCSDIR}
+.for F in READ.ME MIX.DOC NOTES opcodes *.mix
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/lang/mixal/pkg-plist b/lang/mixal/pkg-plist
index 9f0ed178e9da..f29120d8689c 100644
--- a/lang/mixal/pkg-plist
+++ b/lang/mixal/pkg-plist
@@ -1,9 +1,9 @@
bin/mix
-share/doc/mix/READ.ME
-share/doc/mix/MIX.DOC
-share/doc/mix/NOTES
-share/doc/mix/opcodes
-share/doc/mix/elevator.mix
-share/doc/mix/mystery.mix
-share/doc/mix/prime.mix
-@dirrm share/doc/mix
+%%PORTDOCS%%share/doc/mixal/MIX.DOC
+%%PORTDOCS%%share/doc/mixal/NOTES
+%%PORTDOCS%%share/doc/mixal/READ.ME
+%%PORTDOCS%%share/doc/mixal/elevator.mix
+%%PORTDOCS%%share/doc/mixal/mystery.mix
+%%PORTDOCS%%share/doc/mixal/opcodes
+%%PORTDOCS%%share/doc/mixal/prime.mix
+@dirrm share/doc/mixal