diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-04 11:40:14 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-04 11:40:14 +0800 |
commit | 4eda3a9e794c7b1834eede06f4e71fe345c791d6 (patch) | |
tree | 813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /emulators/xzx | |
parent | 0eff41e7b9a36ea4031df2f12affda98bd0b9e61 (diff) | |
download | freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.gz freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.zst freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.zip |
In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple
PORTEXAMPLES for good measure.
Diffstat (limited to 'emulators/xzx')
-rw-r--r-- | emulators/xzx/Makefile | 2 | ||||
-rw-r--r-- | emulators/xzx/pkg-plist | 8 |
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 |