diff options
author | mat <mat@FreeBSD.org> | 2018-09-10 21:15:47 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-09-10 21:15:47 +0800 |
commit | ed6a90e2e9b645590dd7e6e43cd9ed313b094c13 (patch) | |
tree | 3c6875e1915991a70b5d02b799e17418d20b218a /sysutils | |
parent | 6baece3b7ae06d93445a0e0ecf02e59541a92a95 (diff) | |
download | freebsd-ports-gnome-ed6a90e2e9b645590dd7e6e43cd9ed313b094c13.tar.gz freebsd-ports-gnome-ed6a90e2e9b645590dd7e6e43cd9ed313b094c13.tar.zst freebsd-ports-gnome-ed6a90e2e9b645590dd7e6e43cd9ed313b094c13.zip |
Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cfengine22/Makefile | 2 | ||||
-rw-r--r-- | sysutils/ck4up/Makefile | 2 | ||||
-rw-r--r-- | sysutils/hfm/Makefile | 2 | ||||
-rw-r--r-- | sysutils/immortal/Makefile | 2 | ||||
-rw-r--r-- | sysutils/racktables/Makefile | 2 | ||||
-rw-r--r-- | sysutils/zfsnap2/Makefile | 2 |
6 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/cfengine22/Makefile b/sysutils/cfengine22/Makefile index 3fa1b966d4db..9ab7839e62b3 100644 --- a/sysutils/cfengine22/Makefile +++ b/sysutils/cfengine22/Makefile @@ -36,7 +36,7 @@ CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \ INFO= cfengine-Tutorial cfengine-Reference -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e '/^docdir/s!=.*!= @docdir@!'\ diff --git a/sysutils/ck4up/Makefile b/sysutils/ck4up/Makefile index c858f4576d09..2c86f224be9a 100644 --- a/sysutils/ck4up/Makefile +++ b/sysutils/ck4up/Makefile @@ -21,6 +21,8 @@ PORTEXAMPLES= ck4up.conf PLIST_FILES= bin/ck4up \ man/man1/ck4up.1.gz +OPTIONS_DEFINE= EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/Makefile diff --git a/sysutils/hfm/Makefile b/sysutils/hfm/Makefile index 012c281066e5..553efe25d80a 100644 --- a/sysutils/hfm/Makefile +++ b/sysutils/hfm/Makefile @@ -33,7 +33,7 @@ MAKE_ARGS+= ETCDIR=${ETCDIR} TAG=${DISTVERSIONPREFIX}${PORTVERSION} ALL_TARGET= test build -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS EXAMPLES do-patch: (cd ${WRKSRC}; ${PATCH} vendor/src/github.com/mitchellh/go-libucl/libucl.go < vendor/patches/github.com/mitchellh/go-libucl/libucl.go.patch ) diff --git a/sysutils/immortal/Makefile b/sysutils/immortal/Makefile index 27c84bb65f8d..ec1cebe52389 100644 --- a/sysutils/immortal/Makefile +++ b/sysutils/immortal/Makefile @@ -21,6 +21,8 @@ GH_TUPLE= immortal:logrotate:6f52ae7:logrotate/src/github.com/immortal/logrotate go-yaml:yaml:5420a8b:yaml/src/github.com/go-yaml/yaml GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME} +OPTIONS_DEFINE= EXAMPLES + do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \ diff --git a/sysutils/racktables/Makefile b/sysutils/racktables/Makefile index cf4dda210f43..c0eba2140ae0 100644 --- a/sysutils/racktables/Makefile +++ b/sysutils/racktables/Makefile @@ -28,7 +28,7 @@ PLIST_SUB= WWWDIR_REL=${WWWDIR_REL} WWWDIR=${WWWDIR} WWWUSER?= www WWWGRP?= www -OPTIONS_DEFINE= LDAP SNMP CURL PCNTL PCRE +OPTIONS_DEFINE= LDAP SNMP CURL PCNTL PCRE EXAMPLES PCRE_DESC= Regular Expression Support PCNTL_DESC= pcntl Support LDAP_USE= PHP=ldap diff --git a/sysutils/zfsnap2/Makefile b/sysutils/zfsnap2/Makefile index f17ba3d31bdf..63094d0b464a 100644 --- a/sysutils/zfsnap2/Makefile +++ b/sysutils/zfsnap2/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE NO_BUILD= yes USE_GITHUB= yes -OPTIONS_DEFINE= BASH ZSH DOCS +OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES OPTIONS_DEFAULT= BASH ZSH OPTIONS_SUB= yes |