diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-16 11:18:26 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-16 11:18:26 +0800 |
commit | 9cd1db4fef933674a3b75d6ca4262e0ffe647637 (patch) | |
tree | 6cba635ca6a0900686686afe6df65efafe2cb104 /sysutils/gather | |
parent | 037277c495c4a69f56029e71eecf6838910561c8 (diff) | |
download | freebsd-ports-gnome-9cd1db4fef933674a3b75d6ca4262e0ffe647637.tar.gz freebsd-ports-gnome-9cd1db4fef933674a3b75d6ca4262e0ffe647637.tar.zst freebsd-ports-gnome-9cd1db4fef933674a3b75d6ca4262e0ffe647637.zip |
Add DOCS option where PORTDOCS is in plist.
Diffstat (limited to 'sysutils/gather')
-rw-r--r-- | sysutils/gather/Makefile | 2 | ||||
-rw-r--r-- | sysutils/gather/pkg-plist | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sysutils/gather/Makefile b/sysutils/gather/Makefile index 1dae62cf6c82..a3e54aaab83a 100644 --- a/sysutils/gather/Makefile +++ b/sysutils/gather/Makefile @@ -22,6 +22,8 @@ MAKE_ENV+= CONFDIR=${PREFIX}/etc/gather DATADIR=${DATADIR} SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gather ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gather.1 ${STAGEDIR}${PREFIX}/man/man1 diff --git a/sysutils/gather/pkg-plist b/sysutils/gather/pkg-plist index be663e9e50ee..00fca1cfe353 100644 --- a/sysutils/gather/pkg-plist +++ b/sysutils/gather/pkg-plist @@ -6,10 +6,6 @@ man/man1/gather.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gather.map.linux %%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% %%PORTDOCS%%@dirrmtry %%DOCSDIR%% -@unexec if cmp -s %D/etc/gather/gather.cfg.sample %D/etc/gather/gather.cfg; then rm -f %D/etc/gather/gather.cfg; else echo "If permanently deleting this package, %D/etc/gather/gather.cfg must be removed manually."; fi -etc/gather/gather.cfg.sample -@exec if [ ! -f %D/etc/gather/gather.cfg ]; then cp -p %D/%F %B/gather.cfg; fi -@unexec if cmp -s %D/etc/gather/gather.map.sample %D/etc/gather/gather.map; then rm -f %D/etc/gather/gather.map; else echo "If permanently deleting this package, %D/etc/gather/gather.map must be removed manually."; fi -etc/gather/gather.map.sample -@exec if [ ! -f %D/etc/gather/gather.map ]; then cp -p %D/%F %B/gather.map; fi +@sample etc/gather/gather.cfg.sample +@sample etc/gather/gather.map.sample @dirrmtry etc/gather |