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

Add DOCS option where PORTDOCS is in plist.

This commit is contained in:
Adam Weinberger 2014-07-16 03:18:26 +00:00
parent fa4bf2ee1d
commit c6941c482e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362024
63 changed files with 131 additions and 40 deletions

View File

@ -17,6 +17,8 @@ INSTALL_TARGET= install-strip
DOCS= doc/bddnotes.ps doc/buddy.ps doc/tech.txt README AUTHORS
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View File

@ -19,6 +19,8 @@ USE_LDCONFIG= yes
BROKEN_sparc64= does not build
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}

View File

@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Parse and Decode METAR, TAF, SYNOP and BUOY and Store as XML
OPTIONS_DEFINE= APACHE
OPTIONS_DEFINE= APACHE DOCS
OPTIONS_SUB= yes
APACHE_DESC= Install Apache config file for metaf2xml (depends on Apache)

View File

@ -26,6 +26,8 @@ MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
DOCS= ChangeLog ToDo doc/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/

View File

@ -14,7 +14,7 @@ GH_ACCOUNT= firnsy
GH_TAGNAME= v2-${PORTVERSION}
GH_COMMIT= 272eaf7
OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PRELUDE PGSQL PORT_PCAP
OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PRELUDE PGSQL PORT_PCAP DOCS
NO_OPTIONS_SORT=yes
64BIT_DESC= Enable 64bit compilation (experimental)

View File

@ -25,6 +25,8 @@ BDREL= 5
SUB_LIST= bdc pkg-message
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})

View File

@ -36,7 +36,7 @@ PLIST_SUB+= CLEANUP_PREFIX="@comment "
CMAKE_ARGS+= -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
-D BRO_ETC_INSTALL_DIR:PATH=${PREFIX}/etc
OPTIONS_DEFINE= DEBUG PYTHON RUBY
OPTIONS_DEFINE= DEBUG PYTHON RUBY DOCS
OPTIONS_SUB=
DEBUG_DESC= Compile in debugging mode

View File

@ -23,6 +23,8 @@ USES= perl5 shebangfix dos2unix
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}
DOS2UNIX_FILES= ${WRKSRC}/${PORTNAME}.cfg
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
post-patch:

View File

@ -19,4 +19,6 @@ BRANDELF_FILES= usr/bin/gpg-error
PLIST_SUB= PORTVERSION="${PORTVERSION}"
DESCR= ${.CURDIR}/../libgpg-error/pkg-descr
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -25,6 +25,8 @@ GROUPS= monkeysphere
MAKE_ARGS+= ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample
OPTIONS_DEFINE= DOCS
# use proper system paths for FreeBSD instead of debian's:
post-patch:
@${REINPLACE_CMD} -e 's|/etc/monkeysphere|${LOCALBASE}/etc/monkeysphere|g' \

View File

@ -16,6 +16,8 @@ USE_PYTHON= 2
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR}

View File

@ -20,6 +20,8 @@ INSTALL_TARGET= site-install
DOCS= README.txt History.txt License.txt
EXAMPLES= ext/camellia-example.rb
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}

View File

@ -23,7 +23,7 @@ LICENSE_PERMS= auto-accept
LICENSE_FILE= ${WRKSRC}/client/lib/tablelist4.1/COPYRIGHT.txt
LICENSE_PERMS= auto-accept
OPTIONS_DEFINE= AUDIO SANCP WIRESHARK
OPTIONS_DEFINE= AUDIO SANCP WIRESHARK DOCS
AUDIO_DESC= Install Festival Speech Synthesis
SANCP_DESC= Use sancp
WIRESHARK_DESC= Install wireshark

View File

@ -13,7 +13,7 @@ RUN_DEPENDS= tcltls>=0:${PORTSDIR}/devel/tcltls \
barnyard2:${PORTSDIR}/security/barnyard2-sguil \
${LOCALBASE}/lib/tclx8.4/tclx.tcl:${PORTSDIR}/lang/tclX
OPTIONS_DEFINE= PADS SANCP
OPTIONS_DEFINE= PADS SANCP DOCS
PADS_DESC= Include pads sensor
SANCP_DESC= Include sancp sensor

View File

@ -25,6 +25,8 @@ MAKE_ENV= BDBINCLUDE="-I${BDB_INCLUDE_DIR}" \
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-extract:
@: > ${WRKSRC}/Makefile.local
@${REINPLACE_CMD} 's/-ccopt -pg //' ${WRKSRC}/Makefile

View File

@ -14,6 +14,8 @@ COMMENT= A telnet-like application which uses a secure SSL channel
GNU_CONFIGURE= yes
USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/control.txt ${STAGEDIR}${DOCSDIR}

View File

@ -63,6 +63,8 @@ SHEBANG_FILES= src/tools/sss_obfuscate
USE_RC_SUBR= ${PORTNAME}
PORTDATA= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"

View File

@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -fpermissive
LIBS+= -L${LOCALBASE}/lib -lintl -lmcrypt
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's,SHELL) libtool,SHELL) ${LIBTOOL} --tag=CXX,' \
${WRKSRC}/src/Makefile.in

View File

@ -26,6 +26,8 @@ DOC_FILES= INSTALL
LIB_FILES= CA.pm CERT.pm GUI.pm HELPERS.pm KEY.pm OpenSSL.pm REQ.pm TCONFIG.pm
LIB2_FILES= CALLBACK.pm HELPERS.pm TCONFIG.pm WORDS.pm X509_browser.pm X509_infobox.pm
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${SITE_PERL}/${PORTNAME}/GUI
${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${SITE_PERL}/${PORTNAME}

View File

@ -14,6 +14,8 @@ COMMENT= FTP proxy that wraps data and control with TLS/SSL
GNU_CONFIGURE= yes
USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS|LDFLAGS).*=,\1?=,g' \
${WRKSRC}/Makefile.in

View File

@ -11,7 +11,7 @@ COMMENT= A web-based firewall log analyzer
LICENSE= GPLv2
OPTIONS_DEFINE= MYSQL MYSQLIPV6 PGSQL
OPTIONS_DEFINE= MYSQL MYSQLIPV6 PGSQL DOCS
OPTIONS_DEFAULTS= MYSQL MYSQLIPV6
MYSQLIPV6_DESC= Shared library plugin for Mysql IPv6 support

View File

@ -20,6 +20,8 @@ USES= gmake tar:bzip2
SUB_FILES= pkg-message
SUB_LIST+= RUNFILE=${DATADIR}/bash_completion.sh
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|FLAC|&\|flv\|FLV|;' ${WRKSRC}/bash_completion

View File

@ -24,7 +24,7 @@ NO_BUILD= yes
USES= shebangfix
SHEBANG_FILES= BashBurn.sh
OPTIONS_DEFINE= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
OPTIONS_DEFINE= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS DOCS
OPTIONS_DEFAULT= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
CDRDAO_DESC= Disk-At-Once Recording
DVDTOOLS_DESC= Frontend to master DVD media

View File

@ -18,6 +18,8 @@ USE_AUTOTOOLS= aclocal automake
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
${FIND} ${WRKSRC} -type f | ${XARGS} \
${REINPLACE_CMD} \

View File

@ -34,6 +34,8 @@ CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
INFO= cfengine-Tutorial cfengine-Reference
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= @docdir@!'\
${WRKSRC}/doc/Makefile.in \

View File

@ -22,6 +22,8 @@ MAKE_ENV+= CONFDIR=${PREFIX}/etc/gather DATADIR=${DATADIR}
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gather ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gather.1 ${STAGEDIR}${PREFIX}/man/man1

View File

@ -6,10 +6,6 @@ man/man1/gather.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gather.map.linux
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@unexec if cmp -s %D/etc/gather/gather.cfg.sample %D/etc/gather/gather.cfg; then rm -f %D/etc/gather/gather.cfg; else echo "If permanently deleting this package, %D/etc/gather/gather.cfg must be removed manually."; fi
etc/gather/gather.cfg.sample
@exec if [ ! -f %D/etc/gather/gather.cfg ]; then cp -p %D/%F %B/gather.cfg; fi
@unexec if cmp -s %D/etc/gather/gather.map.sample %D/etc/gather/gather.map; then rm -f %D/etc/gather/gather.map; else echo "If permanently deleting this package, %D/etc/gather/gather.map must be removed manually."; fi
etc/gather/gather.map.sample
@exec if [ ! -f %D/etc/gather/gather.map ]; then cp -p %D/%F %B/gather.map; fi
@sample etc/gather/gather.cfg.sample
@sample etc/gather/gather.map.sample
@dirrmtry etc/gather

View File

@ -13,7 +13,7 @@ COMMENT= Daemon to monitor vital motherboard parameters
LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= IPV6 FULL_CONFIG
OPTIONS_DEFINE= IPV6 FULL_CONFIG DOCS
FULL_CONFIG_DESC= Remotely reading the full config
IPV6_CONFIGURE_ENABLE= ipv6

View File

@ -14,6 +14,8 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
post-patch:
(cd ${WRKSRC} && \
${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \

View File

@ -14,6 +14,8 @@ LICENSE= BSD2CLAUSE
USES= tar:bzip2
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jail.pristine.fetch \
${STAGEDIR}${PREFIX}/bin

View File

@ -25,6 +25,8 @@ JAR_FILES= composer.jar jt400.jar jt400Proxy.jar jt400Servlet.jar jui400.jar \
outputwriters.jar reportwriter.jar tes.jar uitools.jar util400.jar
DOC_FILES= changes.html license.html readme.html
OPTIONS_DEFINE= DOCS
do-install:
.for i in ${JAR_FILES}
${INSTALL_DATA} ${WRKSRC}/lib/${i} ${STAGEDIR}${JAVAJARDIR}

View File

@ -21,6 +21,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
DOCS= README TODO AUTHORS
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' \
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in

View File

@ -14,7 +14,7 @@ ANALYZERDIR?= www/loganalyzer
PLIST_SUB+= ANALYZERDIR=${ANALYZERDIR}
OPTIONS_DEFINE= PHP_MYSQL PDO_DBLIB PDO_FIREBIRD PDO_MYSQL PDO_ODBC PDO_PGSQL \
PDO_SQLITE
PDO_SQLITE DOCS
PHP_MYSQL_DESC= MySQL database support (PHP extension)
PDO_DBLIB_DESC= Microsoft SQL Server and Sybase PDO driver
PDO_FIREBIRD_DESC= Firebird/Interbase PDO driver

View File

@ -20,6 +20,8 @@ SHEBANG_FILES= mffind.pl
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mffind.pl ${STAGEDIR}${PREFIX}/bin

View File

@ -29,6 +29,8 @@ USE_PERL5= configure
REINPLACE_ARGS= -i ''
USE_RC_SUBR= mogilefsd mogstored
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}

View File

@ -12,4 +12,6 @@ COMMENT= Utility to modify the dynamic linker
USES= gmake
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -17,6 +17,8 @@ NO_BUILD= yes
DOCS= COPYING Changes README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:

View File

@ -13,6 +13,8 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spinner ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -14,7 +14,9 @@ COMMENT= A program for executing commands on many hosts in parallel
WRKSRC= ${WRKDIR}/${DISTNAME}/py
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYDISTUTILS=yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|share/doc/tentakel|${DOCSDIR_REL}|' \

View File

@ -15,6 +15,8 @@ DOCS= BUGS CHANGES README THANKS
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= DOCS
post-extract:
@${LN} -sf ${PORTNAME}.1x ${WRKSRC}/${PORTNAME}.1

View File

@ -9,6 +9,8 @@ MASTER_SITES= http://www.teaser.fr/~amajorel/wtail/
MAINTAINER= mich@FreeBSD.org
COMMENT= Wtail does the equivalent of tail -f on several files at once
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wtail ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -28,6 +28,8 @@ ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/utmp/d' \
${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c

View File

@ -16,6 +16,8 @@ ALL_TARGET= ALL
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s,%%STAGEDIR%%,${STAGEDIR},g" \
${WRKSRC}/makefile

View File

@ -15,6 +15,8 @@ USE_PERL5= build
JADOCSDIR= share/doc/ja/${PORTNAME}
PLIST_SUB= JADOCSDIR=${JADOCSDIR}
OPTIONS_DEFINE= DOCS
pre-build:
@(echo perl is set ${PERL} in pre-build:)
@(cd ${WRKSRC}; ./findperl.sh ${PERL} > whereperl)

View File

@ -31,4 +31,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
PROJECTHOST= ibus
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>

View File

@ -26,7 +26,7 @@ WRKSRC= ${WRKDIR}/fletcher-MultiMarkdown-4-${MM4_COMMIT}
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= CHEAT_SHEET EXTRAS HELPERS
OPTIONS_DEFINE= CHEAT_SHEET EXTRAS HELPERS DOCS
CHEAT_SHEET_DESC= HTML-based cheat sheat
EXTRAS_DESC= Extra scripts and XSLT support
HELPERS_DESC= Helper scripts (conflicts with emulators/mtools)

View File

@ -16,6 +16,8 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DSV_BASEDIR= ${PYTHONPREFIX_SITELIBDIR}/DSV
OPTIONS_DEFINE= DOCS
post-install:
@${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DSV_BASEDIR}/DSV.py "$$@"\n' \
>${WRKDIR}/DSV.sh

View File

@ -22,6 +22,8 @@ CONFLICTS= py-genshi-[0-9]*
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

@ -18,6 +18,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl
${FIND} ${WRKSRC} -name '*.bak' -delete

View File

@ -69,20 +69,20 @@ share/xsl/resume/params.xsl
@dirrm share/xsl/resume
@dirrmtry share/xsl
%%JAVAJARDIR%%/xmlresume-filter.jar
%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/Makefile
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/README
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/brazil.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/canada.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/ireland.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/italy.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/norway.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/nz.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/uk.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/untagged.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/addressing/usa.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/build.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/example1.xml
%%PORTDOCS%%%%EXAMPLESDIR%%/example2.xml
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/addressing
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/brazil.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/canada.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/ireland.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/italy.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/norway.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/nz.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/uk.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/untagged.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addressing/usa.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/build.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.xml
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/addressing
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

View File

@ -17,6 +17,8 @@ NO_BUILD= yes
DOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
@${INSTALL_DATA} ${INSTALL_WRKSRC}/escape.rb ${STAGEDIR}${RUBY_SITELIBDIR}/

View File

@ -16,6 +16,8 @@ USE_RUBY= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
post-patch:
${RUBY} -i.orig -pe 'gsub(/"(format_test\.pl)/, "\"./\\1")' ${WRKSRC}/test_format.rb

View File

@ -18,6 +18,8 @@ NO_BUILD= yes
SADIR= ${RUBY_SITELIBDIR}
DOCS= CHANGELOG README.txt History.txt
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${SADIR}/liquid/tags ${STAGEDIR}${SADIR}/liquid/extras
${INSTALL_DATA} ${WRKSRC}/lib/liquid.rb ${STAGEDIR}${SADIR}/

View File

@ -26,6 +26,8 @@ RUBY_MODNAME= rd
DOCS_EN= README.rd doc/rd-draft.rd
DOCS_JA= README.rd.ja doc/rd-draft.rd.ja
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/rd
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${STAGEDIR}${RUBY_SITELIBDIR}/rd/

View File

@ -29,6 +29,8 @@ DOCS_EN= ChangeLog \
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
${RUBY_RD_HTML_FILES:M*.ja.html}
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/rsary.rb ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja

View File

@ -27,6 +27,8 @@ INSTALL_TARGET= site-install
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
OPTIONS_DEFINE= DOCS
post-extract:
${FIND} ${WRKSRC} -name CVS -type d -exec ${RM} -r {} ';' -prune

View File

@ -23,6 +23,8 @@ DOCS_EN= ChangeLog \
doc/en/*
DOCS_JA= doc/ja/*
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${CP} -R ${WRKSRC}/lib/xmlscan ${STAGEDIR}${RUBY_SITELIBDIR}/

View File

@ -15,6 +15,8 @@ USES= libtool pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in

View File

@ -24,7 +24,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
OPTIONS_DEFINE= ICONV ID64 LIBSTEMMER MYSQL OPTIMIZED_CFLAGS PGSQL \
SYSLOG UNIXODBC
SYSLOG UNIXODBC DOCS
OPTIONS_DEFAULT=ICONV MYSQL SYSLOG
ICONV_CONFIGURE_WITH= iconv

View File

@ -20,6 +20,8 @@ PLIST_SUB+= TCL_VERSION=${TCL_VER}
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ENV+= TCL_VERSION=${TCL_VER}
OPTIONS_DEFINE= DOCS
# Remove the old version of expat bundled with the package:
post-extract:
${RM} -rf ${WRKSRC}/expat

View File

@ -23,6 +23,8 @@ INSTALL_TARGET= install-strip
DOCS= AUTHORS README NEWS docs/*.pdf license/LICENSING.txt
OPTIONS_DEFINE= DOCS
post-patch:
${CHMOD} ${BINMODE} ${WRKSRC}/configure ${WRKSRC}/install-sh

View File

@ -18,11 +18,8 @@ USE_LDCONFIG= YES
SHLIB_MAJOR= 3
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
.if defined(NOPROFILE) || defined(NO_PROFILE)
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
.endif
OPTIONS_DEFINE= DOCS PROFILE
OPTIONS_SUB= yes
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev

View File

@ -14,6 +14,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
.if defined(WANT_FINAL)
CONFIGURE_ARGS+= --enable-final
USES= gmake