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

Add DOCS option to the remaining staged ports where PORTDOCS appears

in the plist.
This commit is contained in:
Adam Weinberger 2014-07-16 03:34:56 +00:00
parent 26b131e57b
commit e894c29ad5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362026
48 changed files with 101 additions and 28 deletions

View File

@ -31,6 +31,8 @@ LIMGDIR?= www/data/images
IMGDIR= ${PREFIX}/${LIMGDIR}
PLIST_SUB= IMGDIR="${LIMGDIR}"
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
do-install:

View File

@ -14,6 +14,8 @@ USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= calamaris
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View File

@ -29,6 +29,8 @@ INSTALL_TARGET= install_alt
DOCSDIR= ${PREFIX}/share/doc/caudium
OPTIONS_DEFINE= DOCS
post-patch:
@${SED} -e 's:@CAUDIUM_SERVERDIR@:${PREFIX}/caudium/server:' \
-e 's:^#############$$:${ECHO} "$${caudium_enable}" | ${EGREP} -iq "^yes|^true" || exit:' \

View File

@ -28,6 +28,8 @@ DOCSDIR= ${PREFIX}/share/doc/css-mode
PLIST_SUB= ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR}
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}

View File

@ -20,7 +20,7 @@ USES= drupal:7
USE_PHP= dom filter gd hash json mbstring pcre pdo session simplexml xml
WANT_PHP_WEB= yes
OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL
OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL DOCS
OPTIONS_DEFAULT= MYSQL
NO_BUILD= yes

View File

@ -13,6 +13,8 @@ NO_BUILD= yes
USE_PHP= yes
USES= zip
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/plugins
${INSTALL_DATA} ${WRKSRC}/src/class.* ${STAGEDIR}${DATADIR}

View File

@ -29,11 +29,11 @@
%%DATADIR%%/plugins/modifier.upper.php
%%DATADIR%%/plugins/modifier.urlencode.php
%%DATADIR%%/plugins/modifier.wordwrap.php
%%EXAMPLESDIR%%/templates/footer.tpl
%%EXAMPLESDIR%%/templates/header.tpl
%%EXAMPLESDIR%%/templates/index.tpl
%%EXAMPLESDIR%%/templates/test.conf
%%EXAMPLESDIR%%/test.php
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/footer.tpl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/header.tpl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/index.tpl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/test.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.php
%%PORTDOCS%%%%DOCSDIR%%/appendix.caching.html
%%PORTDOCS%%%%DOCSDIR%%/appendix.groups.html
%%PORTDOCS%%%%DOCSDIR%%/favicon.ico
@ -50,8 +50,8 @@
%%PORTDOCS%%%%DOCSDIR%%/programming.methods.html
%%PORTDOCS%%%%DOCSDIR%%/programming.variables.html
%%PORTDOCS%%%%DOCSDIR%%/what.is.html
@dirrm %%EXAMPLESDIR%%/templates
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/templates
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%/plugins
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -42,7 +42,7 @@ MAKE_ARGS+= PREFIX="${PREFIX}" \
MANDIR="${MANPREFIX}/man" \
STAGEDIR="${STAGEDIR}"
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SA_DEBUG
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SA_DEBUG DOCS
OPTIMIZED_CFLAGS_DESC= Build with distribution-recommended CFLAGS
SA_DEBUG_DESC= Enable Free-SA debugging (level 1)

View File

@ -20,6 +20,8 @@ NO_BUILD= yes
DOC1= AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO
OPTIONS_DEFINE= DOCS
do-install:
.for file in jdresolve rhost
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin

View File

@ -43,7 +43,7 @@ L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
DOCSDIR= ${L_DOC}
OPTIONS_DEFINE= IDN NLS
OPTIONS_DEFINE= IDN NLS DOCS
OPTIONS_DEFAULT=IDN NLS
OPTIONS_SUB= yes

View File

@ -10,12 +10,11 @@ MASTER_SITES= SF/middle-man/Source/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Robust proxy server
OPTIONS_DEFINE= SYSLOG DEBUG MTIME
OPTIONS_DEFAULT=
OPTIONS_DEFINE= SYSLOG DEBUG MTIME DOCS
SYSLOG_DESC= Enable syslog support
DEBUG_DESC= Enable debugging support
MTIME_DESC= Enable mtime support
DEBUG_DESC= Enable debugging support
MTIME_DESC= Enable mtime support
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
@ -24,8 +23,6 @@ USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
MAN8= mman.8
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSYSLOG}

View File

@ -30,6 +30,8 @@ MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/apache${APACHE_VERSION} -I${LOCALBA
INSTALL_TARGET= install-modules-yes
DOCSDIR= ${PREFIX}/share/doc/apache${APACHE_VERSION}/mod
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/manual/mod/mod_fcgid.html ${STAGEDIR}${DOCSDIR}

View File

@ -20,6 +20,8 @@ LATEST_LINK= mod_layout22
MAKE_ARGS+= builddir=${WRKSRC}
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
${WRKSRC}/Makefile

View File

@ -18,6 +18,8 @@ DATADIR= ${PREFIX}/share/nanoblogger
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
.for data in default lang plugins
@( cd ${WRKSRC}/${data} && \

View File

@ -18,6 +18,8 @@ NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/nb
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/nb

View File

@ -32,6 +32,8 @@ DOC_FILES= INSTALL LICENSE README TODO UPGRADE
SUB_FILES+= pkg-message
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
post-patch:

View File

@ -16,6 +16,8 @@ USE_PERL5= configure
DOCS= CHANGES README TODO
EXAMPLES= cookies get_post print upload file post reference
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

View File

@ -3,15 +3,15 @@
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%EXAMPLESDIR%%/cookies
%%PORTDOCS%%%%EXAMPLESDIR%%/file
%%PORTDOCS%%%%EXAMPLESDIR%%/get_post
%%PORTDOCS%%%%EXAMPLESDIR%%/post
%%PORTDOCS%%%%EXAMPLESDIR%%/print
%%PORTDOCS%%%%EXAMPLESDIR%%/reference
%%PORTDOCS%%%%EXAMPLESDIR%%/upload
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookies
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get_post
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/print
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reference
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PERL5_MAN3%%/CGI::Lite.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI

View File

@ -14,6 +14,8 @@ COMMENT= Extract information from the URLs of Search-Engines
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/URI/Sequin/examples
@${INSTALL_DATA} ${WRKSRC}/example.pl ${WRKSRC}/ref?.log \

View File

@ -46,6 +46,8 @@ EXCEPTFILES= ${STAGEDIR}${PREFIX}/${PHPBBDIR}/install/install.php \
${STAGEDIR}${PREFIX}/${PHPBBDIR}/install/upgrade.php \
${STAGEDIR}${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
OPTIONS_DEFINE= DOCS
options:
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
@ ${CAT} ${PKGOPTS}

View File

@ -19,6 +19,8 @@ EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCFILES}

View File

@ -24,6 +24,8 @@ PKGMESSAGE= ${WRKSRC}/pkg-message
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

View File

@ -19,6 +19,8 @@ PYDISTUTILS_AUTOPLIST= yes
REINPLACE_ARGS= -i '' -e 's,../../bin,${PREFIX}/bin,'
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/pyjamas|${DATADIR}|' ${WRKSRC}/setup.py
${FIND} ${WRKSRC}/examples -type f -name "build.sh" -print0 | ${XARGS} -0 ${REINPLACE_CMD}

View File

@ -17,6 +17,8 @@ BUILD_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${WRKSRC}/src
HAS_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@cd ${BUILD_WRKSRC}/&&${REINPLACE_CMD} -e 's|gcc|${CC}|' Makefile

View File

@ -33,7 +33,7 @@ NO_ARCH= yes
# mentioned in the docs is currently unsupported in the ports, but see
# http://www.infracaninophile.co.uk/articles/sphinxse.html
OPTIONS_DEFINE= DEV GD GPG GRAPHVIZ SSL_MAILGATE
OPTIONS_DEFINE= DEV GD GPG GRAPHVIZ SSL_MAILGATE DOCS
OPTIONS_SINGLE= DB
OPTIONS_SINGLE_DB= MYSQL ORACLE PGSQL SQLITE
OPTIONS_RADIO= WEB

View File

@ -32,7 +32,7 @@ NO_ARCH= yes
# mentioned in the docs is currently unsupported in the ports, but see
# http://www.infracaninophile.co.uk/articles/sphinxse.html
OPTIONS_DEFINE= DEVELOPER GD GPG GRAPHVIZ SMIME
OPTIONS_DEFINE= DEVELOPER GD GPG GRAPHVIZ SMIME DOCS
OPTIONS_SINGLE= DB
OPTIONS_SINGLE_DB= MYSQL ORACLE PGSQL SQLITE
OPTIONS_RADIO= WEB

View File

@ -20,6 +20,8 @@ USE_RUBY_SETUP= yes
DOCS= NEWS README TODO
EXAMPLES= example/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}

View File

@ -20,6 +20,8 @@ USE_RUBY_SETUP= yes
DOCS= COPYING INSTALL NEWS README
EXAMPLES= example/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.for f in ${EXAMPLES}

View File

@ -20,6 +20,8 @@ RUBY_SETUP= install.rb
DOCS= CHANGES Changelog README google.html
EXAMPLES= examples/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}

View File

@ -16,6 +16,8 @@ LICENSE= BSD4CLAUSE
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libexif.so:${PORTSDIR}/graphics/libexif
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile

View File

@ -14,6 +14,8 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}

View File

@ -57,6 +57,8 @@ PLIST_SUB= VDR_USER=${VDR_USER}
PLIST_SUB+= VDR_GROUP=${VDR_GROUP}
PLIST_SUB+= PREFIX=${PREFIX}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 1s-^#!/bin/bash-#!${LOCALBASE}/bin/bash- \
${WRKSRC}/install.sh ${WRKSRC}/make.sh

View File

@ -11,6 +11,8 @@ COMMENT= Quick-N-Dirty Web Access Log Analyzer
USE_PYTHON= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/waccess ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/waccess.1.gz ${STAGEDIR}${PREFIX}/man/man1

View File

@ -15,6 +15,8 @@ NO_BUILD= yes
# what about fancytooltips?
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}

View File

@ -21,6 +21,8 @@ ROOTDIRS= attachments core docs files languages modules \
DOCFILES= CHANGELOG CUSTOMIZATION DISCLAIMER INSTALL \
LICENSE README README_CMS README_RSS UPGRADE
OPTIONS_DEFINE= DOCS
pre-install:
@${ECHO} ${WWWDIR}

View File

@ -32,6 +32,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}

View File

@ -29,6 +29,8 @@ SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR}

View File

@ -17,6 +17,8 @@ USES= libtool
USE_LDCONFIG= yes
USE_XORG= xmu x11 xext
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

View File

@ -19,6 +19,8 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples \

View File

@ -23,6 +23,8 @@ USE_LDCONFIG= yes
LIBTOOL= libtool
MAKE_ENV= LIBTOOL=${LIBTOOL}
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
(cd ${WRKSRC}/lib && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
libXmHTML.la ${STAGEDIR}${PREFIX}/lib)

View File

@ -26,7 +26,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= BEASTIE ESOUND GNOME LITE MENUFIX NLS XFT XINERAMA \
XRANDR
XRANDR DOCS
OPTIONS_DEFINE_i386= ASM
OPTIONS_DEFAULT= BEASTIE MENUFIX NLS XFT XINERAMA XRANDR
OPTIONS_DEFAULT_i386= ASM

View File

@ -16,6 +16,8 @@ USE_XORG= x11
USES= gmake
MAKE_ENV= X11_PREFIX="${LOCALBASE}" HAS_SYSTEM_ASPRINTF=1
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|^PREFIX=|PREFIX?=|g ; \

View File

@ -12,6 +12,8 @@ COMMENT= Helper scripts and documentation for the X11 window manager selector
USES= perl5
USE_PERL5= run
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in Changes README THANKS TODO

View File

@ -25,6 +25,8 @@ THEMES= atlantis.conf \
light_gray.conf \
light_orange.conf
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '35,36d;89d;92,94d' \
-e "s/\([^-]pthread'\)/\1, 'X11'/" \

View File

@ -26,6 +26,8 @@ USE_GNOME= libxslt:build
USE_XORG= xau xdmcp
USE_PYTHON_BUILD=2
OPTIONS_DEFINE= DOCS
.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS
CONFIGURE_ARGS+=${f}="${${f}}"
.endfor

View File

@ -28,7 +28,7 @@ DESKTOP_ENTRIES= "mrxvt" "mrxvt terminal emulator" \
false
OPTIONS_DEFINE= XFT BACKGROUND JPEG PNG TRANSPARENCY SWAPSCREEN JAPANESE 24BITS \
MENUBAR TEXTSHADOW FRILLS
MENUBAR TEXTSHADOW FRILLS DOCS
OPTIONS_DEFAULT= BACKGROUND JPEG PNG TRANSPARENCY SWAPSCREEN 24BITS \
MENUBAR XFT JAPANESE FRILLS TEXTSHADOW
BACKGROUND_DESC= Background images

View File

@ -19,6 +19,8 @@ NO_BUILD= yes
DOCS= ChangeLog Documentation Overview TODO
EXAMPLES= tests/*
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/* ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME}/

View File

@ -19,6 +19,8 @@ USES= gmake gettext pkgconfig
DOCS= AUTHORS ChangeLog README TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|ps -C tilda -o pid=|pgrep tilda|' \
${WRKSRC}/src/tilda.c