summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:00:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:00:46 +0000
commitfa4bf2ee1d039ae33718a8286802e7bf7ceb3387 (patch)
tree728a3619568ce38b9188fc0b8717a16a880d52d3 /news
parent. Update to 8u11. (diff)
Add DOCS option for ports with PORTDOCS in plist.
Notes
Notes: svn path=/head/; revision=362023
Diffstat (limited to 'news')
-rw-r--r--news/multisuck/Makefile2
-rw-r--r--news/multisuck/pkg-plist8
-rw-r--r--news/newsgrab/Makefile2
-rw-r--r--news/nget/Makefile2
-rw-r--r--news/noffle/Makefile2
-rw-r--r--news/nzbget/Makefile2
-rw-r--r--news/slrn/Makefile2
-rw-r--r--news/slrnconf/Makefile2
-rw-r--r--news/ubh/Makefile2
-rw-r--r--news/xpn/Makefile2
-rw-r--r--news/xrn/Makefile2
11 files changed, 22 insertions, 6 deletions
diff --git a/news/multisuck/Makefile b/news/multisuck/Makefile
index c628118da726..77ed0b64fd33 100644
--- a/news/multisuck/Makefile
+++ b/news/multisuck/Makefile
@@ -11,6 +11,8 @@ COMMENT= Multi-server/conn news suck
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= EXAMPLES
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/msuck ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/news/multisuck/pkg-plist b/news/multisuck/pkg-plist
index 15893a7ec578..684baab79537 100644
--- a/news/multisuck/pkg-plist
+++ b/news/multisuck/pkg-plist
@@ -1,5 +1,5 @@
bin/msuck
-%%PORTDOCS%%%%EXAMPLESDIR%%/filters.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/newsrc.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/suck.cfg.sample
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filters.sample
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsrc.sample
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/suck.cfg.sample
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile
index 7295b937c6dc..5b1aeeaa7bb1 100644
--- a/news/newsgrab/Makefile
+++ b/news/newsgrab/Makefile
@@ -20,6 +20,8 @@ NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= newsgrab.pl
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab
diff --git a/news/nget/Makefile b/news/nget/Makefile
index 053035ff9d2f..964ae6e29d97 100644
--- a/news/nget/Makefile
+++ b/news/nget/Makefile
@@ -15,6 +15,8 @@ USES= gmake
USE_GCC= any
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME}
diff --git a/news/noffle/Makefile b/news/noffle/Makefile
index 275e33dd63de..19e1f3c4f839 100644
--- a/news/noffle/Makefile
+++ b/news/noffle/Makefile
@@ -25,6 +25,8 @@ PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR}
DOCS= ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
docs/testing.txt docs/noffle.lsm
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index c9e572b6773f..307e31acbd77 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
-OPTIONS_DEFINE= 7Z PAR PYTHON RAR
+OPTIONS_DEFINE= 7Z PAR PYTHON RAR DOCS
OPTIONS_SINGLE= TLSLIB
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL
OPTIONS_DEFAULT= GNUTLS PAR PYTHON RAR
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index c17ed29b4ac5..55a6ff5e2a76 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ARGS+=--enable-ipv6 --disable-inews --with-slrnpull \
ALL_TARGET= all
-OPTIONS_DEFINE= NLS SSL DEVIEW
+OPTIONS_DEFINE= NLS SSL DEVIEW DOCS
OPTIONS_DEFAULT=NLS SSL
OPTIONS_SUB= yes
NLS_USES= gettext
diff --git a/news/slrnconf/Makefile b/news/slrnconf/Makefile
index f13d2d28f3a7..8b9b0aa991a1 100644
--- a/news/slrnconf/Makefile
+++ b/news/slrnconf/Makefile
@@ -17,6 +17,8 @@ USE_BZIP2= yes
USES= perl5
MAKE_ARGS+= PREFIX=${PREFIX}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/help
${INSTALL_DATA} ${WRKSRC}/help/* ${STAGEDIR}${DATADIR}/help
diff --git a/news/ubh/Makefile b/news/ubh/Makefile
index 486fe99df010..2c1841ed5b39 100644
--- a/news/ubh/Makefile
+++ b/news/ubh/Makefile
@@ -20,6 +20,8 @@ RUN_DEPENDS= \
NO_BUILD= YES
USES= perl5
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
diff --git a/news/xpn/Makefile b/news/xpn/Makefile
index 1b0853d79fc5..f791e0b63efe 100644
--- a/news/xpn/Makefile
+++ b/news/xpn/Makefile
@@ -27,6 +27,8 @@ USES= gettext
XPN= ${PORTNAME}.py
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}
diff --git a/news/xrn/Makefile b/news/xrn/Makefile
index e5371cfeed00..dbc5770a1f7d 100644
--- a/news/xrn/Makefile
+++ b/news/xrn/Makefile
@@ -17,6 +17,8 @@ USE_XORG= ice sm x11 xaw xext xmu xpm xt
DOCS= COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -E -e "s|^#error.+||g" \
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g" \