mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
This commit is contained in:
parent
3c87974395
commit
e638299edc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395483
@ -42,11 +42,9 @@ OPTIONS_DEFINE= DOCS
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
||||
.endif
|
||||
BROKEN_ia64= does not compile
|
||||
BROKEN_powerpc= does not compile
|
||||
BROKEN_sparc64= does not compile
|
||||
|
||||
post-extract:
|
||||
@( cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${GC_SRC} )
|
||||
@ -71,9 +69,9 @@ post-install:
|
||||
${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_launch
|
||||
${LN} -fs ${DATADIR} ${STAGEDIR}${PREFIX}/lib/asir
|
||||
${INSTALL_MAN} ${WRKDIR}/asirdoc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,15 +35,14 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
DOCS_DISTFILES= RTemc2_fr.pdf RTemc2_gb.pdf
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,6 +15,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom \
|
||||
|
||||
USES= zip
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
USE_JAVA= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
@ -23,18 +24,16 @@ JARFILES= JTS_Test acme jts-${VER}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
.for jar in ${JARFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/${jar}.jar \
|
||||
${STAGEDIR}${JAVAJARDIR}/${jar:S|-${VER}||}.jar
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
regression-test: install
|
||||
|
@ -32,14 +32,10 @@ DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
DOCS_ALL_TARGET=doc
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
ALL_TARGET+= doc
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -70,8 +70,6 @@ ATLAS_USES= blaslapack:atlas
|
||||
|
||||
INFO= octave liboctave
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's+"makeinfo"+"${LOCALBASE}/bin/makeinfo"+' ${WRKSRC}/libinterp/corefcn/help.cc
|
||||
${REINPLACE_CMD} 's+lapack lapack_rs6k+${LAPACKLIB:C/-l//}+' ${WRKSRC}/configure
|
||||
@ -82,14 +80,14 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/icons/octave.desktop \
|
||||
${STAGEDIR}${DESKTOPDIR}/www.octave.org-octave.desktop
|
||||
(cd ${STAGEDIR}${DATADIR} && ln -s ${PORTVERSION}/imagelib .)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
. for file in liboctave/liboctave.ps \
|
||||
.for file in liboctave/liboctave.ps \
|
||||
refcard/refcard-a4.ps refcard/refcard-legal.ps \
|
||||
refcard/refcard-letter.ps interpreter/octave.ps
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
check regression-test: build
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check)
|
||||
|
@ -32,17 +32,17 @@ GH_TAGNAME= 8e812cd
|
||||
PORTEXAMPLES= *
|
||||
PORTDOCS= README.rst README_l1.txt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/_smoothers_lowess.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/linbin.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/tsa/kalmanf/kalman_loglike.so
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,14 +18,10 @@ CONFLICTS= qhull-1.0* afni-[0-9]* qhull5-*
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-CMakeLists.txt
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's#share/man/man#man/man#g' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if empty(PORT_OPTIONS:MDOCS)
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,14 +24,10 @@ GNU_CONFIGURE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
pre-configure:
|
||||
.if empty(PORT_OPTIONS:MDOCS)
|
||||
pre-configure-DOCS-off:
|
||||
@${REINPLACE_CMD} -e "s|src html eg config|src config|" \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e "s|install-docDATA install-examplesDATA||" \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -52,8 +52,6 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
|
||||
${WRKSRC}/src/util/sysutil.ml \
|
||||
@ -63,9 +61,9 @@ post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/why3* \
|
||||
${STAGEDIR}${PREFIX}/lib/why3/plugins/*.cmxs \
|
||||
${STAGEDIR}${PREFIX}/lib/why3/why3-cpulimit
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -31,12 +31,8 @@ post-patch:
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,20 +35,18 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/digitemp_DS9097U ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${INSTALL_DATA} ${FILESDIR}/digitemp.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/digitemp.conf.sample"
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
.for dir in perl python/gui python/mysql rrdb
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir}
|
||||
${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_DATA} \{\} ${STAGEDIR}${DOCSDIR}/${dir} \;
|
||||
.endfor
|
||||
.endif
|
||||
${INSTALL_DATA} ${FILESDIR}/digitemp.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/digitemp.conf.sample"
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,14 +21,10 @@ USE_RC_SUBR= logsurfer
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ChangeLog README
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,15 +18,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKDIR}/${DISTNAME}; \
|
||||
${INSTALL_DATA} *.html hello.sample* ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
${INSTALL_DATA} *.html hello.sample* ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -58,8 +58,6 @@ GIF_CONFIGURE_ENABLE= gif
|
||||
GIF_LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib
|
||||
GIF_CPPFLAGS= -I${LOCALBASE}/include
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|-lungif|-lgif|' \
|
||||
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
|
||||
@ -82,7 +80,8 @@ post-install:
|
||||
${STAGEDIR}${PREFIX}/man/man1/
|
||||
${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \
|
||||
${STAGEDIR}${PREFIX}/bin/
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
@ -101,6 +100,5 @@ post-install:
|
||||
cd ${WRKSRC}/contrib && \
|
||||
${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} \
|
||||
${STAGEDIR}${DOCSDIR}/scripts/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,10 +15,6 @@ USES= gmake
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
INSTALL_TARGET= install install-doc
|
||||
.endif
|
||||
DOCS_INSTALL_TARGET= install install-doc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,18 +17,14 @@ MAKE_ARGS= THREADLIB="-lpthread" XCFLAGS="${CFLAGS}" XLDFLAGS="${LDFLAGS}"
|
||||
PLIST_FILES= bin/flvstreamer bin/streams
|
||||
PORTDOCS= ChangeLog ChangeLog.rtmpdump README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \
|
||||
${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,12 +22,8 @@ PORTDOCS= ChangeLog README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,8 +26,6 @@ CONFIGURE_WRKSRC= ${WRKSRC}/src
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| make| $$(MAKE)|' \
|
||||
-e 's|cd src|(&| ; /cd src/s|$$|)|' \
|
||||
@ -37,10 +35,10 @@ post-patch:
|
||||
-e 's|/doc/packages|/doc|' \
|
||||
-e 's|^.*/get_svn_revision.sh$$||' \
|
||||
${WRKSRC}/Makefile
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} -E -e '/(install|tar).*DOC_PATH/d' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
@ -20,8 +20,6 @@ USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' \
|
||||
${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
|
||||
@ -34,12 +32,12 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libArts.so
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
||||
.for f in ChangeLog INSTALL WishList
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,22 +16,19 @@ ALL_TARGET= jar
|
||||
MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
|
||||
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
||||
SUB_FILES= confregdecode
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in README.txt ConfregDecode.html
|
||||
${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,6 +29,7 @@ SCRIPTS= check_email_delivery check_email_delivery_epn \
|
||||
SHEBANG_FILES= ${SCRIPTS}
|
||||
USE_PERL5= run
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
DOC_FILES= check_email_delivery.html check_email_delivery.pod \
|
||||
check_imap_receive.html check_imap_receive.pod \
|
||||
check_smtp_send.html check_smtp_send.pod \
|
||||
@ -39,8 +40,6 @@ PORTSCOUT= ignore:1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/local/nagios/libexec|${PREFIX}/libexec/nagios|' \
|
||||
@ -51,11 +50,11 @@ do-install:
|
||||
.for file in ${SCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/libexec/nagios/
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for docfile in ${DOC_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/${docfile} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,12 +24,8 @@ SSL_CONFIGURE_WITH= ssl
|
||||
|
||||
NLS_CONFIGURE_WITH= nls
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
post-patch:
|
||||
post-patch-DOCS-off:
|
||||
${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${ETCDIR}/netustad.conf-dist ${STAGEDIR}${ETCDIR}/netustad.conf.sample
|
||||
|
@ -31,22 +31,14 @@ USE_PHP= yes
|
||||
WANT_PHP_CLI= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= Changelog
|
||||
|
||||
CACTIDIR?= share/cacti
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/${doc}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins
|
||||
|
||||
@ -63,4 +55,10 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cacti/bin/* ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/nagios/bin/* ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/${doc}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,12 +21,11 @@ WRKSRC= ${WRKDIR}/routers2-v${PORTVERSION}/extensions
|
||||
USES= perl5
|
||||
|
||||
NO_BUILD= YES
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= README *.txt extension.cgi.pl
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/*.cgi
|
||||
|
||||
@ -34,10 +33,10 @@ do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/www/routers2/extensions
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi \
|
||||
${STAGEDIR}${PREFIX}/www/routers2/extensions
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} README *.txt extension.cgi.pl \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,14 +24,13 @@ RUN_DEPENDS= p5-Convert-ASN1>=0:${PORTSDIR}/converters/p5-Convert-ASN1 \
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
|
||||
USES= perl5
|
||||
NO_BUILD= YES
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/extras/targetnames/BER.pm \
|
||||
${WRKSRC}/extras/targetnames/SNMP_*.pm
|
||||
@ -49,11 +48,11 @@ do-install:
|
||||
${STAGEDIR}${PREFIX}/www/routers2/rrdicons
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/routers2.cgi.pl \
|
||||
${STAGEDIR}${PREFIX}/www/routers2/routers2.cgi
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}; \
|
||||
${INSTALL_DATA} CHANGES README doc/* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
#post-install:
|
||||
#.if !defined(BATCH)
|
||||
|
@ -23,8 +23,6 @@ STRIP= # stripping can break go binaries
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" ${WRKSRC}/cf/app_constants.go
|
||||
@cd ${WRKSRC} ; ${MKDIR} Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
|
||||
@ -46,11 +44,11 @@ do-build:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/cf \
|
||||
${STAGEDIR}${PREFIX}/bin/
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for x in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,15 +22,13 @@ PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} \
|
||||
dhcp6c.conf.sample dhcp6s.conf.sample \
|
||||
${STAGEDIR}${PREFIX}/etc
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,6 +21,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USE_GITHUB= yes
|
||||
USES= python
|
||||
NO_ARCH= yes
|
||||
|
||||
GH_ACCOUNT= USArmyResearchLab
|
||||
GH_PROJECT= Dshell
|
||||
@ -30,8 +31,6 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAKE_ENV+= PYTHON_CMD=${PYTHON_CMD}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.for f in bin/generate-dshellrc.py doc/generate-doc.sh
|
||||
${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' ${WRKSRC}/${f}
|
||||
@ -63,11 +62,11 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/.dshellrc ${STAGEDIR}/${PREFIX}/etc/dshell
|
||||
(cd ${WRKSRC}/lib; ${COPYTREE_SHARE} . ${STAGEDIR}/${PYTHON_SITELIBDIR}/dshell)
|
||||
(cd ${WRKSRC}/decoders; ${COPYTREE_SHARE} . ${STAGEDIR}/${PYTHON_SITELIBDIR}/dshell/decoders)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}/${DATADIR}/GeoIP
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} "-name *\.html")
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}/${DATADIR}/GeoIP
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,8 +13,6 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
SUB_FILES= findmtu
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile.rawsocket
|
||||
|
||||
@ -24,10 +22,10 @@ do-configure:
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${STAGEDIR}${PREFIX}/bin/findmtu
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${STAGEDIR}${PREFIX}/bin/findmtu.real
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.freebsd ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,6 +25,7 @@ USE_PERL5= run
|
||||
perl_OLD_CMD= ${SETENV} perl
|
||||
SHEBANG_FILES= ${PORTNAME} ${PORTNAME}.cgi
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
@ -43,8 +44,6 @@ PORTDOCS= CHANGELOG-get_iplayer.cgi.txt CHANGELOG.txt \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s|/usr/bin/get_iplayer|${PREFIX}/bin/${PORTNAME}|" \
|
||||
${WRKSRC}/README-get_iplayer.cgi.txt ${WRKSRC}/get_iplayer.cgi
|
||||
@ -61,9 +60,9 @@ do-install:
|
||||
.for DIR in html plugins
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${WWWDIR})
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,13 +19,8 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
CONFIGURE_ARGS+= --with-html-dir=${DOCSDIR}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-html-dir
|
||||
.endif
|
||||
DOCS_CONFIGURE_ON= --with-html-dir=${DOCSDIR}
|
||||
DOCS_CONFIGURE_OFF= --without-html-dir
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \
|
||||
|
@ -15,19 +15,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
|
||||
|
||||
USES= python:2
|
||||
USE_PYTHON= autoplist distutils
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PLIST_FILES= man/man1/google.1.gz
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/man/google.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,15 +24,13 @@ PORTDOCS= README AUTHORS COPYING ChangeLog DEVELOPER-HOWTO \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/ipgrab.8 ${STAGEDIR}${MANPREFIX}/man/man8/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/ipgrab.info ${STAGEDIR}${PREFIX}/info/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/ipgrab ${STAGEDIR}${PREFIX}/bin/
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -32,12 +32,8 @@ PLIST_FILES= man/man8/ladvd.8.gz \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
post-patch-DOCS-off:
|
||||
@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,10 +24,6 @@ PLIST_FILES= sbin/map-mbone sbin/mrouted sbin/mrinfo sbin/mtrace \
|
||||
man/man8/mtrace.8.gz
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
MAKE_ARGS+= datadir=${DOCSDIR} doc=yes
|
||||
.endif
|
||||
DOCS_MAKE_ARGS= datadir=${DOCSDIR} doc=yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,13 +23,11 @@ do-build:
|
||||
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
||||
${REINPLACE_CMD} -E -i "" -e 's|[[:blank:]]+$$||' ${WRKSRC}/README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,13 +17,12 @@ RUN_DEPENDS= p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask
|
||||
USES= perl5
|
||||
USE_PERL5= run
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PLIST_FILES= etc/pbnc.cfg bin/pbnc.pl
|
||||
PORTDOCS= pbnc.readme
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
pre-install:
|
||||
${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/pbnc.pl
|
||||
|
||||
@ -31,10 +30,8 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/pbnc.cfg ${STAGEDIR}${PREFIX}/etc/pbnc.cfg
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pbnc.pl ${STAGEDIR}${PREFIX}/bin/pbnc.pl
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,19 +24,17 @@ PORTDOCS= *
|
||||
USE_RC_SUBR= ptpd2
|
||||
|
||||
OPTIONS_DEFINE= DOCS SNMP
|
||||
OPTIONS_DEFAULT=DOCS SNMP
|
||||
OPTIONS_DEFAULT=SNMP
|
||||
|
||||
SNMP_CONFIGURE_ENABLE= snmp
|
||||
SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${CP} ${FILESDIR}/*.sample ${STAGEDIR}${ETCDIR}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKDIR}/ptpd-${DISTVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,21 +12,21 @@ COMMENT= Unix-like tools to manipulate stored files from the command line
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil
|
||||
|
||||
USES= python:2
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-patch-DOCS-on:
|
||||
${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
|
||||
.else
|
||||
|
||||
post-patch-DOCS-off:
|
||||
${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,13 +21,11 @@ PORTDOCS= NEWS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/samplicate ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,17 +16,13 @@ USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in README COPYING AUTHORS NEWS README.FreeSockets
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,16 +16,13 @@ HAS_CONFIGURE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,12 +24,8 @@ PORTDOCS= AUTHORS ChangeLog NEWS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,8 +30,6 @@ TINYLDAP_DATA?= ${PREFIX}/tinyldap/data
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${TOUCH} ${WRKSRC}/alloca.h
|
||||
${REINPLACE_CMD} -e "s|\"data\"|\"${TINYLDAP_DATA}\"|" \
|
||||
@ -46,11 +44,11 @@ do-install:
|
||||
.for i in ${SBINFILES}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin/
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${DOCFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,14 +23,9 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= ChangeLog DEBUG SOCKS5 socks-extensions.txt
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,(defined(__linux__) || defined(__darwin__) || (defined(__FreeBSD_kernel__) && defined(__i386__))),defined(__FreeBSD__),' ${WRKSRC}/src/lib/syscall.c
|
||||
|
@ -18,19 +18,15 @@ PLIST_FILES= bin/uplog
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e \
|
||||
's|#include <malloc.h>||g' \
|
||||
${WRKSRC}/${PORTNAME}.c
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in README
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -34,7 +34,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
GLIB_SCHEMAS= org.gnome.Vinagre.gschema.xml
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
OPTIONS_DEFINE= TELEPATHY RDP
|
||||
OPTIONS_DEFINE= TELEPATHY RDP DOCS
|
||||
OPTIONS_DEFAULT=TELEPATHY RDP
|
||||
TELEPATHY_DESC= Telepathy integration
|
||||
RDP_DESC= MS Windows remote desktop support
|
||||
@ -45,14 +45,10 @@ RDP_CONFIGURE_ENABLE= rdp
|
||||
RDP_BUILD_DEPENDS= xfreerdp:${PORTSDIR}/net/freerdp
|
||||
RDP_RUN_DEPENDS= xfreerdp:${PORTSDIR}/net/freerdp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in AUTHORS COPYING ChangeLog NEWS README
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,12 +20,8 @@ GNU_CONFIGURE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -33,17 +33,13 @@ NLS_USES= gettext
|
||||
AVAHI_LIB_DEPENDS= libavahi-common.so:${PORTSDIR}/net/avahi-app
|
||||
AVAHI_CONFIGURE_OFF= --without-avahi
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|include_HEADERS = |noinst_HEADERS = |' \
|
||||
-e 's|am__include_HEADERS_DIST|am__noinst_HEADERS_DIST|' \
|
||||
-e 's|/include/rfb|/include|' ${WRKSRC}/Makefile.in
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user