aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvs
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-06 12:34:23 +0800
committeradamw <adamw@FreeBSD.org>2014-08-06 12:34:23 +0800
commita46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch)
treed206a205dd3870d245c26875f1da2aaa627aad64 /devel/cvs
parent0a17597462ff11896ad3e619b25fc9df0263fcef (diff)
downloadfreebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.gz
freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.zst
freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.zip
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances, correct examples being controlled by the DOCS option.
Diffstat (limited to 'devel/cvs')
-rw-r--r--devel/cvs/Makefile6
-rw-r--r--devel/cvs/pkg-plist42
2 files changed, 24 insertions, 24 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index 12787abc1399..06c89bccbda4 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -11,8 +11,8 @@ COMMENT= Version control system
LICENSE= GPLv2
-OPTIONS_DEFINE= KERBEROS
-OPTIONS_DEFAULT= KERBEROS
+OPTIONS_DEFINE= KERBEROS EXAMPLES
+OPTIONS_DEFAULT=KERBEROS
USES= makeinfo tar:xz uidfix
WRKSRC= ${WRKDIR}/call/cvs-build
@@ -37,6 +37,6 @@ BROKEN= does not link
.endif
pre-install:
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
.include <bsd.port.post.mk>
diff --git a/devel/cvs/pkg-plist b/devel/cvs/pkg-plist
index edbf7c3d9586..5d0460d83ced 100644
--- a/devel/cvs/pkg-plist
+++ b/devel/cvs/pkg-plist
@@ -2,24 +2,24 @@ bin/cvs
bin/cvsbug
man/man1/cvs.1.gz
man/man8/cvsbug.8.gz
-%%EXAMPLESDIR%%/contrib/README
-%%EXAMPLESDIR%%/contrib/clmerge
-%%EXAMPLESDIR%%/contrib/cln_hist
-%%EXAMPLESDIR%%/contrib/commit_prep
-%%EXAMPLESDIR%%/contrib/cvs2vendor
-%%EXAMPLESDIR%%/contrib/cvs_acls
-%%EXAMPLESDIR%%/contrib/cvscheck
-%%EXAMPLESDIR%%/contrib/intro.doc
-%%EXAMPLESDIR%%/contrib/log
-%%EXAMPLESDIR%%/contrib/log_accum
-%%EXAMPLESDIR%%/contrib/mfpipe
-%%EXAMPLESDIR%%/contrib/rcs-to-cvs
-%%EXAMPLESDIR%%/contrib/rcslock
-%%EXAMPLESDIR%%/contrib/sccs2rcs
-%%EXAMPLESDIR%%/contrib/rcs2log
-%%EXAMPLESDIR%%/contrib/easy-import
-%%EXAMPLESDIR%%/contrib/cvscheck.man
-%%EXAMPLESDIR%%/contrib/cvshelp.man
-%%EXAMPLESDIR%%/contrib/descend.man
-@dirrm %%EXAMPLESDIR%%/contrib
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/clmerge
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cln_hist
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/commit_prep
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cvs2vendor
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cvs_acls
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cvscheck
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/intro.doc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/log
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/log_accum
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/mfpipe
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/rcs-to-cvs
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/rcslock
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/sccs2rcs
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/rcs2log
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/easy-import
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cvscheck.man
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/cvshelp.man
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/descend.man
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/contrib
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%