1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add PORTDOCS support.

PR:		47489
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Mark Pulford 2003-02-14 13:07:33 +00:00
parent 76d3961fe8
commit cbf82f266d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75506
2 changed files with 14 additions and 18 deletions

View File

@ -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>

View File

@ -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