summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bashburn/Makefile2
-rw-r--r--sysutils/byobu/Makefile2
-rw-r--r--sysutils/cfengine22/Makefile2
-rw-r--r--sysutils/gather/Makefile2
-rw-r--r--sysutils/gather/pkg-plist8
-rw-r--r--sysutils/healthd/Makefile2
-rw-r--r--sysutils/httplog/Makefile2
-rw-r--r--sysutils/jail-primer/Makefile2
-rw-r--r--sysutils/jtopen/Makefile2
-rw-r--r--sysutils/lineakd/Makefile2
-rw-r--r--sysutils/loganalyzer/Makefile2
-rw-r--r--sysutils/memfetch/Makefile2
-rw-r--r--sysutils/p5-MogileFS-Server/Makefile2
-rw-r--r--sysutils/patchelf/Makefile2
-rw-r--r--sysutils/safe-rm/Makefile2
-rw-r--r--sysutils/spinner/Makefile2
-rw-r--r--sysutils/tentakel/Makefile4
-rw-r--r--sysutils/videogen/Makefile2
-rw-r--r--sysutils/wtail/Makefile2
-rw-r--r--sysutils/xfsprogs/Makefile2
20 files changed, 38 insertions, 10 deletions
diff --git a/sysutils/bashburn/Makefile b/sysutils/bashburn/Makefile
index 973d49b7685f..d5538f21d389 100644
--- a/sysutils/bashburn/Makefile
+++ b/sysutils/bashburn/Makefile
@@ -24,7 +24,7 @@ NO_BUILD= yes
USES= shebangfix
SHEBANG_FILES= BashBurn.sh
-OPTIONS_DEFINE= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
+OPTIONS_DEFINE= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS DOCS
OPTIONS_DEFAULT= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
CDRDAO_DESC= Disk-At-Once Recording
DVDTOOLS_DESC= Frontend to master DVD media
diff --git a/sysutils/byobu/Makefile b/sysutils/byobu/Makefile
index b49cb380bd91..b89c343c3bc1 100644
--- a/sysutils/byobu/Makefile
+++ b/sysutils/byobu/Makefile
@@ -18,6 +18,8 @@ USE_AUTOTOOLS= aclocal automake
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-patch:
${FIND} ${WRKSRC} -type f | ${XARGS} \
${REINPLACE_CMD} \
diff --git a/sysutils/cfengine22/Makefile b/sysutils/cfengine22/Makefile
index b6a4562ac2af..9e80292173db 100644
--- a/sysutils/cfengine22/Makefile
+++ b/sysutils/cfengine22/Makefile
@@ -34,6 +34,8 @@ CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
INFO= cfengine-Tutorial cfengine-Reference
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= @docdir@!'\
${WRKSRC}/doc/Makefile.in \
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
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index 50cb9ff16df2..f8bf1aea4304 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -13,7 +13,7 @@ COMMENT= Daemon to monitor vital motherboard parameters
LICENSE= BSD2CLAUSE
-OPTIONS_DEFINE= IPV6 FULL_CONFIG
+OPTIONS_DEFINE= IPV6 FULL_CONFIG DOCS
FULL_CONFIG_DESC= Remotely reading the full config
IPV6_CONFIGURE_ENABLE= ipv6
diff --git a/sysutils/httplog/Makefile b/sysutils/httplog/Makefile
index fa6a3a1f6bc1..e2c52e9c8a34 100644
--- a/sysutils/httplog/Makefile
+++ b/sysutils/httplog/Makefile
@@ -14,6 +14,8 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
post-patch:
(cd ${WRKSRC} && \
${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
diff --git a/sysutils/jail-primer/Makefile b/sysutils/jail-primer/Makefile
index a408c27b436d..b2fddb7019fc 100644
--- a/sysutils/jail-primer/Makefile
+++ b/sysutils/jail-primer/Makefile
@@ -14,6 +14,8 @@ LICENSE= BSD2CLAUSE
USES= tar:bzip2
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jail.pristine.fetch \
${STAGEDIR}${PREFIX}/bin
diff --git a/sysutils/jtopen/Makefile b/sysutils/jtopen/Makefile
index 84bba5223844..969d704078cb 100644
--- a/sysutils/jtopen/Makefile
+++ b/sysutils/jtopen/Makefile
@@ -25,6 +25,8 @@ JAR_FILES= composer.jar jt400.jar jt400Proxy.jar jt400Servlet.jar jui400.jar \
outputwriters.jar reportwriter.jar tes.jar uitools.jar util400.jar
DOC_FILES= changes.html license.html readme.html
+OPTIONS_DEFINE= DOCS
+
do-install:
.for i in ${JAR_FILES}
${INSTALL_DATA} ${WRKSRC}/lib/${i} ${STAGEDIR}${JAVAJARDIR}
diff --git a/sysutils/lineakd/Makefile b/sysutils/lineakd/Makefile
index 037db7bd2011..8ec82510ca9a 100644
--- a/sysutils/lineakd/Makefile
+++ b/sysutils/lineakd/Makefile
@@ -21,6 +21,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
DOCS= README TODO AUTHORS
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' \
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in
diff --git a/sysutils/loganalyzer/Makefile b/sysutils/loganalyzer/Makefile
index 93126a921fcc..fc87913a57f4 100644
--- a/sysutils/loganalyzer/Makefile
+++ b/sysutils/loganalyzer/Makefile
@@ -14,7 +14,7 @@ ANALYZERDIR?= www/loganalyzer
PLIST_SUB+= ANALYZERDIR=${ANALYZERDIR}
OPTIONS_DEFINE= PHP_MYSQL PDO_DBLIB PDO_FIREBIRD PDO_MYSQL PDO_ODBC PDO_PGSQL \
- PDO_SQLITE
+ PDO_SQLITE DOCS
PHP_MYSQL_DESC= MySQL database support (PHP extension)
PDO_DBLIB_DESC= Microsoft SQL Server and Sybase PDO driver
PDO_FIREBIRD_DESC= Firebird/Interbase PDO driver
diff --git a/sysutils/memfetch/Makefile b/sysutils/memfetch/Makefile
index 93bb28b1f1a2..c5202443daf3 100644
--- a/sysutils/memfetch/Makefile
+++ b/sysutils/memfetch/Makefile
@@ -20,6 +20,8 @@ SHEBANG_FILES= mffind.pl
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mffind.pl ${STAGEDIR}${PREFIX}/bin
diff --git a/sysutils/p5-MogileFS-Server/Makefile b/sysutils/p5-MogileFS-Server/Makefile
index 49f97548a600..8cd7663ba12c 100644
--- a/sysutils/p5-MogileFS-Server/Makefile
+++ b/sysutils/p5-MogileFS-Server/Makefile
@@ -29,6 +29,8 @@ USE_PERL5= configure
REINPLACE_ARGS= -i ''
USE_RC_SUBR= mogilefsd mogstored
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
diff --git a/sysutils/patchelf/Makefile b/sysutils/patchelf/Makefile
index 5890448cd2f5..b1e9c590f4f9 100644
--- a/sysutils/patchelf/Makefile
+++ b/sysutils/patchelf/Makefile
@@ -12,4 +12,6 @@ COMMENT= Utility to modify the dynamic linker
USES= gmake
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/sysutils/safe-rm/Makefile b/sysutils/safe-rm/Makefile
index 6e6a1e5d53b1..e41efa2093b0 100644
--- a/sysutils/safe-rm/Makefile
+++ b/sysutils/safe-rm/Makefile
@@ -17,6 +17,8 @@ NO_BUILD= yes
DOCS= COPYING Changes README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/sysutils/spinner/Makefile b/sysutils/spinner/Makefile
index 60e046785e1b..84ae6a17f8cc 100644
--- a/sysutils/spinner/Makefile
+++ b/sysutils/spinner/Makefile
@@ -13,6 +13,8 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spinner ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/sysutils/tentakel/Makefile b/sysutils/tentakel/Makefile
index 53ca176a3e92..bc57e271276d 100644
--- a/sysutils/tentakel/Makefile
+++ b/sysutils/tentakel/Makefile
@@ -14,7 +14,9 @@ COMMENT= A program for executing commands on many hosts in parallel
WRKSRC= ${WRKDIR}/${DISTNAME}/py
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS=yes
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|share/doc/tentakel|${DOCSDIR_REL}|' \
diff --git a/sysutils/videogen/Makefile b/sysutils/videogen/Makefile
index 27a995997cd2..ed0e6d783624 100644
--- a/sysutils/videogen/Makefile
+++ b/sysutils/videogen/Makefile
@@ -15,6 +15,8 @@ DOCS= BUGS CHANGES README THANKS
MAKE_JOBS_UNSAFE=yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${LN} -sf ${PORTNAME}.1x ${WRKSRC}/${PORTNAME}.1
diff --git a/sysutils/wtail/Makefile b/sysutils/wtail/Makefile
index b17d2d181f3b..ac88d8c9718e 100644
--- a/sysutils/wtail/Makefile
+++ b/sysutils/wtail/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= http://www.teaser.fr/~amajorel/wtail/
MAINTAINER= mich@FreeBSD.org
COMMENT= Wtail does the equivalent of tail -f on several files at once
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wtail ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/sysutils/xfsprogs/Makefile b/sysutils/xfsprogs/Makefile
index 8e7954f40b56..77c8c558b520 100644
--- a/sysutils/xfsprogs/Makefile
+++ b/sysutils/xfsprogs/Makefile
@@ -28,6 +28,8 @@ ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/utmp/d' \
${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c