From 531eec7f301cafe82291c40a4ddccf02ff842f15 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 21 Jul 2005 15:32:37 +0000 Subject: [PATCH] - Use PLIST_FILES and PORTDOCS PR: ports/83855 Submitted by: KATO Tsuguru --- emulators/prodosemu/Makefile | 11 +++++++++-- emulators/prodosemu/pkg-plist | 5 ----- 2 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 emulators/prodosemu/pkg-plist diff --git a/emulators/prodosemu/Makefile b/emulators/prodosemu/Makefile index cd804f01a69a..ad17adda52a0 100644 --- a/emulators/prodosemu/Makefile +++ b/emulators/prodosemu/Makefile @@ -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 diff --git a/emulators/prodosemu/pkg-plist b/emulators/prodosemu/pkg-plist deleted file mode 100644 index 57b434a7245f..000000000000 --- a/emulators/prodosemu/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/prodos -share/apple2/prodos-2e.rom -%%PORTDOCS%%share/doc/prodosemu/README -%%PORTDOCS%%@dirrm share/doc/prodosemu -@dirrm share/apple2