aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 10:29:34 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 10:29:34 +0800
commit746fac707b51c2f32d6060cd7b64d0a82374779b (patch)
treeb84ea78c60b31723859f75646bb5378e75c71abc
parent40d8aca5b61ba6626f473d0cb0381ab482e44b57 (diff)
downloadfreebsd-ports-gnome-746fac707b51c2f32d6060cd7b64d0a82374779b.tar.gz
freebsd-ports-gnome-746fac707b51c2f32d6060cd7b64d0a82374779b.tar.zst
freebsd-ports-gnome-746fac707b51c2f32d6060cd7b64d0a82374779b.zip
Add DOCS option where PORTDOCS appears in plist.
-rw-r--r--irc/cwirc/Makefile2
-rw-r--r--irc/gruftistats/Makefile2
-rw-r--r--irc/infobot/Makefile2
-rw-r--r--irc/ircservices/Makefile2
-rw-r--r--irc/irssistats/Makefile2
-rw-r--r--irc/lostirc/Makefile2
-rw-r--r--irc/miau/Makefile5
-rw-r--r--irc/p5-POE-Component-IRC-Object/pkg-plist4
-rw-r--r--irc/pircbot/Makefile2
-rw-r--r--irc/ratbox-services/Makefile2
-rw-r--r--irc/ruby-irc/Makefile2
-rw-r--r--irc/ruby-rice/Makefile2
-rw-r--r--irc/thales/Makefile2
-rw-r--r--japanese/chasen-base/Makefile2
-rw-r--r--japanese/ebview-gtk2/Makefile2
-rw-r--r--japanese/esecanna/Makefile2
-rw-r--r--japanese/gawk/Makefile2
-rw-r--r--japanese/ruby-eb/Makefile2
-rw-r--r--japanese/ruby-romkan/Makefile2
-rw-r--r--japanese/ruby-uconv/Makefile2
-rw-r--r--japanese/tkhonyaku/Makefile2
-rw-r--r--lang/cduce/Makefile2
-rw-r--r--lang/clay/Makefile2
-rw-r--r--lang/moscow_ml/Makefile2
-rw-r--r--lang/oo2c/Makefile2
-rw-r--r--lang/slib/Makefile2
26 files changed, 48 insertions, 9 deletions
diff --git a/irc/cwirc/Makefile b/irc/cwirc/Makefile
index 7c7e8087518a..4c0c1ed70245 100644
--- a/irc/cwirc/Makefile
+++ b/irc/cwirc/Makefile
@@ -18,6 +18,8 @@ BUILD_DEPENDS= xchat:${PORTSDIR}/irc/xchat
USES= pkgconfig
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
diff --git a/irc/gruftistats/Makefile b/irc/gruftistats/Makefile
index 1975cd774c0a..a58b2607f223 100644
--- a/irc/gruftistats/Makefile
+++ b/irc/gruftistats/Makefile
@@ -13,6 +13,8 @@ COMMENT= Produces a web page of statistics and quotes from IRC channel logs
GNU_CONFIGURE= YES
USES= gmake
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's,strcasestr,strcasestr_x,g' ${WRKSRC}/ircstats.h \
diff --git a/irc/infobot/Makefile b/irc/infobot/Makefile
index bd4f60cca496..4a5b0320a6eb 100644
--- a/irc/infobot/Makefile
+++ b/irc/infobot/Makefile
@@ -14,6 +14,8 @@ USES= perl5
USE_PERL5= run
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
-@${RM} ${WRKSRC}/src/*.orig
.for i in config help users
diff --git a/irc/ircservices/Makefile b/irc/ircservices/Makefile
index c86f4d496de5..a2cc46ee147f 100644
--- a/irc/ircservices/Makefile
+++ b/irc/ircservices/Makefile
@@ -27,6 +27,8 @@ MAKE_JOBS_UNSAFE= yes
IRCSERVICES_LANG?= EN_US
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
diff --git a/irc/irssistats/Makefile b/irc/irssistats/Makefile
index 351d371cbf48..349b0221bd69 100644
--- a/irc/irssistats/Makefile
+++ b/irc/irssistats/Makefile
@@ -13,6 +13,8 @@ LICENSE= GPLv2
ALL_TARGET= irssistats
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e 's|/etc/irssistats.conf|${PREFIX}/etc/irssistats.conf|g' ${WRKSRC}/irssistats.c
${REINPLACE_CMD} -e 's/gcc/$$(CC)/g' ${WRKSRC}/Makefile
diff --git a/irc/lostirc/Makefile b/irc/lostirc/Makefile
index 09d82d80134e..1c23441aed5f 100644
--- a/irc/lostirc/Makefile
+++ b/irc/lostirc/Makefile
@@ -23,6 +23,8 @@ CONFIGURE_ARGS= --disable-kde
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS ChangeLog TODO README INSTALL
diff --git a/irc/miau/Makefile b/irc/miau/Makefile
index 7dffee3d6b60..ad1407e85d51 100644
--- a/irc/miau/Makefile
+++ b/irc/miau/Makefile
@@ -29,9 +29,8 @@ CONFIGURE_ARGS= --enable-dccbounce \
--disable-dependency-tracking
CPPFLAGS+= -I${LOCALBASE}/include
-.if defined(WITH_IPV6)
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
+OPTIONS_DEFINE= DOCS IPV6
+IPV6_CONFIGURE_ON= --enable-ipv6
post-patch:
@${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
diff --git a/irc/p5-POE-Component-IRC-Object/pkg-plist b/irc/p5-POE-Component-IRC-Object/pkg-plist
index 20d776ad230d..412e391c9e21 100644
--- a/irc/p5-POE-Component-IRC-Object/pkg-plist
+++ b/irc/p5-POE-Component-IRC-Object/pkg-plist
@@ -1,8 +1,8 @@
%%PERL5_MAN3%%/POE::Component::IRC::Object.3.gz
%%SITE_PERL%%/POE/Component/IRC/Object.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/elizabot.pl
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elizabot.pl
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
diff --git a/irc/pircbot/Makefile b/irc/pircbot/Makefile
index 6962dfab8a05..7f06c9bb1250 100644
--- a/irc/pircbot/Makefile
+++ b/irc/pircbot/Makefile
@@ -21,6 +21,8 @@ USE_JAVA= yes
SUB_FILES= pkg-message
SUB_LIST= JAVAJARDIR=${JAVAJARDIR}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${STAGEDIR}${JAVAJARDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/irc/ratbox-services/Makefile b/irc/ratbox-services/Makefile
index 5fcd35456a6b..c67f7049221d 100644
--- a/irc/ratbox-services/Makefile
+++ b/irc/ratbox-services/Makefile
@@ -44,7 +44,7 @@ MAKE_JOBS_UNSAFE=yes
#-- Options ------------------------------------------------------------
OPTIONS_DEFINE= NICKSERV CHANSERV USERSERV OPERSERV ALIS JUPESERV OPERBOT GLOBALMSG \
- BANSERV WATCHSERV MEMOSERV
+ BANSERV WATCHSERV MEMOSERV DOCS
OPTIONS_DEFAULT= NICKSERV CHANSERV USERSERV OPERSERV ALIS JUPESERV OPERBOT GLOBALMSG \
BANSERV WATCHSERV MEMOSERV SQLITE
OPTIONS_MULTI= DB
diff --git a/irc/ruby-irc/Makefile b/irc/ruby-irc/Makefile
index d7f63dcc1bc8..7904c76e4f44 100644
--- a/irc/ruby-irc/Makefile
+++ b/irc/ruby-irc/Makefile
@@ -21,6 +21,8 @@ DOCS_EN= BUGS ChangeLog MANIFEST \
NEWS README TODO
DOCS_JA= MEMO.ja README.ja doc.ja/*
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/localize.rb ${STAGEDIR}${RUBY_SITELIBDIR}
diff --git a/irc/ruby-rice/Makefile b/irc/ruby-rice/Makefile
index ed1c8fedc33f..6716402173b9 100644
--- a/irc/ruby-rice/Makefile
+++ b/irc/ruby-rice/Makefile
@@ -14,6 +14,8 @@ COMMENT= Yet another IRC interface library for Ruby
USE_RUBY= yes
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${CP} -R ${WRKSRC}/rice ${STAGEDIR}${RUBY_SITELIBDIR}/
diff --git a/irc/thales/Makefile b/irc/thales/Makefile
index 15baef49944e..b17de2b64256 100644
--- a/irc/thales/Makefile
+++ b/irc/thales/Makefile
@@ -16,7 +16,7 @@ USES= gmake
USE_MYSQL= yes
USE_RC_SUBR= thales
-OPTIONS_DEFINE= MODES
+OPTIONS_DEFINE= MODES DOCS
OPTIONS_RADIO= IRCD
OPTIONS_RADIO_IRCD= HYBRID IRCDRU UNREAL
OPTIONS_DEFAULT=MODES UNREAL
diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile
index 0ddd8698430d..28c74a64af57 100644
--- a/japanese/chasen-base/Makefile
+++ b/japanese/chasen-base/Makefile
@@ -19,6 +19,8 @@ CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include ${ICONV_CONFIGURE_BASE}
USES= iconv
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index a697b08a7e33..e7ab83ec0925 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -27,6 +27,8 @@ SUB_FILES= ebview.desktop
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \
${WRKSRC}/src/ebview.c
diff --git a/japanese/esecanna/Makefile b/japanese/esecanna/Makefile
index 307d2b468141..9594ce5e1ef8 100644
--- a/japanese/esecanna/Makefile
+++ b/japanese/esecanna/Makefile
@@ -22,6 +22,8 @@ CONFIGURE_ARGS= --with-piddir="/var/run/esecanna"
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
diff --git a/japanese/gawk/Makefile b/japanese/gawk/Makefile
index 634a5760205f..3998ccb42722 100644
--- a/japanese/gawk/Makefile
+++ b/japanese/gawk/Makefile
@@ -25,6 +25,8 @@ INFO= gawk
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+OPTIONS_DEFINE= DOCS
+
post-configure:
@${REINPLACE_CMD} -E \
'/(DEFPATH|sed )/!s,(bin|data|lib|info|man|libexec)dir\),DESTDIR\)$$\(&,g' \
diff --git a/japanese/ruby-eb/Makefile b/japanese/ruby-eb/Makefile
index 7977780e5f93..42ec0dabc12b 100644
--- a/japanese/ruby-eb/Makefile
+++ b/japanese/ruby-eb/Makefile
@@ -21,6 +21,8 @@ INSTALL_TARGET= site-install
EXAMPLES= hook2.rb test.rb
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
index 30b2beddb206..cb56e4641982 100644
--- a/japanese/ruby-romkan/Makefile
+++ b/japanese/ruby-romkan/Makefile
@@ -25,6 +25,8 @@ DOCS_EN= ChangeLog \
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
${RUBY_RD_HTML_FILES:M*.ja.html}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile
index e704ccc2d5fb..73e44d679025 100644
--- a/japanese/ruby-uconv/Makefile
+++ b/japanese/ruby-uconv/Makefile
@@ -18,6 +18,8 @@ INSTALL_TARGET= site-install
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/tkhonyaku/Makefile b/japanese/tkhonyaku/Makefile
index 27fad38b5ef1..2a723b506a69 100644
--- a/japanese/tkhonyaku/Makefile
+++ b/japanese/tkhonyaku/Makefile
@@ -18,6 +18,8 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/usr/local/tkhonyaku|${PREFIX}/tkhonyaku|g' \
${WRKSRC}/tkhonyaku ${WRKSRC}/tkhonyaku-readme
diff --git a/lang/cduce/Makefile b/lang/cduce/Makefile
index c84586872e3e..5fcb8996f84c 100644
--- a/lang/cduce/Makefile
+++ b/lang/cduce/Makefile
@@ -20,7 +20,7 @@ USE_OCAML= true
USE_OCAML_FINDLIB= true
USE_OCAML_LDCONFIG= true
-OPTIONS_DEFINE= OCURL MLIFACE
+OPTIONS_DEFINE= OCURL MLIFACE DOCS
OPTIONS_DEFAULT= MLIFACE PXP
OPTIONS_SINGLE= XML
OPTIONS_SINGLE_XML= EXPAT PXP
diff --git a/lang/clay/Makefile b/lang/clay/Makefile
index 845461f28d09..cdada4c90f5a 100644
--- a/lang/clay/Makefile
+++ b/lang/clay/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= llvm-config32:${PORTSDIR}/devel/llvm32 \
clang32:${PORTSDIR}/lang/clang32
RUN_DEPENDS= clang32:${PORTSDIR}/lang/clang32
-OPTIONS_DEFINE= BINDGEN
+OPTIONS_DEFINE= BINDGEN DOCS
BINDGEN_DESC= Build with binding generator (broken on 10.0+)
GITVERSION= 751ebe3
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 803caf617c34..271bf2d93091 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -26,6 +26,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch: .SILENT
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include,"
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index fb4f315d6d6a..09058acd8044 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -25,6 +25,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
ONLY_FOR_ARCHS= i386 amd64 ia64
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
${WRKSRC}/Makefile.config.in
diff --git a/lang/slib/Makefile b/lang/slib/Makefile
index f58331ae0465..fc199f904165 100644
--- a/lang/slib/Makefile
+++ b/lang/slib/Makefile
@@ -15,6 +15,8 @@ USES= gmake makeinfo
ALL_TARGET= slib.info
INFO= slib
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/lib/slib|${PREFIX}/share/slib|' ${WRKSRC}/guile.init