diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-04 11:40:14 +0800 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-04 11:40:14 +0800 |
commit | 511c49bdecf1a9776490a13ab0dab1f7fc561bbf (patch) | |
tree | 813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /deskutils/cycle | |
parent | 5dfe9b3be2f14294a78990688d738da43cf60950 (diff) | |
download | freebsd-ports-gnome-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.tar.gz freebsd-ports-gnome-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.tar.zst freebsd-ports-gnome-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.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 'deskutils/cycle')
-rw-r--r-- | deskutils/cycle/Makefile | 2 | ||||
-rw-r--r-- | deskutils/cycle/pkg-plist | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/deskutils/cycle/Makefile b/deskutils/cycle/Makefile index ec7eb5033aa1..7abd1ab81c72 100644 --- a/deskutils/cycle/Makefile +++ b/deskutils/cycle/Makefile @@ -18,6 +18,8 @@ USE_WX= 3.0+ WX_COMPS= python NO_BUILD= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,"msg","${PREFIX}/share/locale",' \ -e 's,"","${DOCSDIR}", ; s,"icons","${DATADIR}/icons",' \ diff --git a/deskutils/cycle/pkg-plist b/deskutils/cycle/pkg-plist index 08f6e8bd301c..f09698c28056 100644 --- a/deskutils/cycle/pkg-plist +++ b/deskutils/cycle/pkg-plist @@ -17,9 +17,9 @@ man/man1/cycle.1.gz %%DATADIR%%/icons/cycle.xpm %%DATADIR%%/icons/large/cycle.xpm %%DATADIR%%/icons/mini/cycle.xpm -%%DOCSDIR%%/README.html -%%DOCSDIR%%/README_de.html -%%DOCSDIR%%/README_ru.html +%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%%%DOCSDIR%%/README_de.html +%%PORTDOCS%%%%DOCSDIR%%/README_ru.html share/locale/ca/LC_MESSAGES/cycle.mo share/locale/cs/LC_MESSAGES/cycle.mo share/locale/de/LC_MESSAGES/cycle.mo @@ -27,7 +27,7 @@ share/locale/es/LC_MESSAGES/cycle.mo share/locale/gl/LC_MESSAGES/cycle.mo share/locale/ru/LC_MESSAGES/cycle.mo share/locale/sk/LC_MESSAGES/cycle.mo -@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/icons/mini @dirrm %%DATADIR%%/icons/large @dirrm %%DATADIR%%/icons |