summaryrefslogtreecommitdiff
path: root/emulators/prodosemu
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-21 15:32:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-21 15:32:37 +0000
commit531eec7f301cafe82291c40a4ddccf02ff842f15 (patch)
tree218e395926c7e70b0055e78544d22ebe89f461dc /emulators/prodosemu
parentChange PORTNAME to spidermonkey to correspond with dirname. (diff)
- Use PLIST_FILES and PORTDOCS
PR: ports/83855 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'emulators/prodosemu')
-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