1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add DOCS option where PORTDOCS appears in plist.

This commit is contained in:
Adam Weinberger 2014-07-16 02:29:34 +00:00
parent 23b245ed03
commit 136cc8f44f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362018
26 changed files with 48 additions and 9 deletions

View File

@ -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}|' \

View File

@ -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 \

View File

@ -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

View File

@ -27,6 +27,8 @@ MAKE_JOBS_UNSAFE= yes
IRCSERVICES_LANG?= EN_US
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"

View File

@ -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

View File

@ -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

View File

@ -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' \

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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}/

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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; \

View File

@ -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' \

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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,"

View File

@ -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

View File

@ -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