aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-21 23:32:37 +0800
committerpav <pav@FreeBSD.org>2005-07-21 23:32:37 +0800
commit73044cb34b3fbabc8a241b069b66064c6e2d0f7a (patch)
tree9f28e789936410d8d44567146c13f729ac527a09 /emulators
parent83fb683b6bb49b793e15ecc20a050960c135f65f (diff)
downloadfreebsd-ports-gnome-73044cb34b3fbabc8a241b069b66064c6e2d0f7a.tar.gz
freebsd-ports-gnome-73044cb34b3fbabc8a241b069b66064c6e2d0f7a.tar.zst
freebsd-ports-gnome-73044cb34b3fbabc8a241b069b66064c6e2d0f7a.zip
- Use PLIST_FILES and PORTDOCS
PR: ports/83855 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/prodosemu/Makefile11
-rw-r--r--emulators/prodosemu/pkg-plist5
2 files changed, 9 insertions, 7 deletions
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 <bsd.port.mk>
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