aboutsummaryrefslogtreecommitdiff
path: root/emulators/xzx
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
commit511c49bdecf1a9776490a13ab0dab1f7fc561bbf (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /emulators/xzx
parent5dfe9b3be2f14294a78990688d738da43cf60950 (diff)
downloadports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.tar.gz
ports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.zip
Notes
Diffstat (limited to 'emulators/xzx')
-rw-r--r--emulators/xzx/Makefile2
-rw-r--r--emulators/xzx/pkg-plist8
2 files changed, 6 insertions, 4 deletions
diff --git a/emulators/xzx/Makefile b/emulators/xzx/Makefile
index 3390739ac7b6..c7df0fbc6fdd 100644
--- a/emulators/xzx/Makefile
+++ b/emulators/xzx/Makefile
@@ -23,6 +23,8 @@ CONFIGURE_ARGS= --with-oss
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-pro
+OPTIONS_DEFINE= DOCS
+
pre-configure:
@${REINPLACE_CMD} 's,(pkglibdir),(datadir)/doc/@PACKAGE@,' ${WRKSRC}/doc/Makefile.in
diff --git a/emulators/xzx/pkg-plist b/emulators/xzx/pkg-plist
index 7c80831b3ead..7e4fca1dab63 100644
--- a/emulators/xzx/pkg-plist
+++ b/emulators/xzx/pkg-plist
@@ -7,10 +7,10 @@ lib/xzx-pro/plus2.rom
lib/xzx-pro/plus3.rom
lib/xzx-pro/spectrum.rom
man/man1/xzx.1.gz
-%%DOCSDIR%%/COPYRIGHT
-%%DOCSDIR%%/FAQ
-%%DOCSDIR%%/README
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec rm -f %D/lib/xzx-pro/if1.rom
@exec ln -f %D/lib/xzx-pro/if1-v2.rom %D/lib/xzx-pro/if1.rom
@dirrm lib/xzx-pro