1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Use PLIST_FILES and PORTDOCS

PR:		ports/83855
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Pav Lucistnik 2005-07-21 15:32:37 +00:00
parent 471d301097
commit 531eec7f30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139826
2 changed files with 9 additions and 7 deletions

View File

@ -18,10 +18,17 @@ COMMENT= A text based Apple IIe ProDOS emulator
RESTRICTED= apple.rom copyright is owned by Apple and cannot be distributed.
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
PLIST_FILES= bin/prodos share/apple2/prodos-2e.rom
PLIST_DIRS= share/apple2
.if !defined(NOPORTDOCS)
PORTDOCS= README
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/prodosemu
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/prodosemu
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
bin/prodos
share/apple2/prodos-2e.rom
%%PORTDOCS%%share/doc/prodosemu/README
%%PORTDOCS%%@dirrm share/doc/prodosemu
@dirrm share/apple2