mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Remove NOPORTDOCS and NOPORTEXAMPLES.
This commit is contained in:
parent
f093667af6
commit
a36cc6f760
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360680
@ -16,10 +16,9 @@ USE_PYTHON_RUN= yes
|
|||||||
|
|
||||||
PORTDOCS= ChangeLog README COPYING AUTHORS
|
PORTDOCS= ChangeLog README COPYING AUTHORS
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/${PORTNAME}
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/${PORTNAME}
|
||||||
.if defined(NOPORTDOCS)
|
|
||||||
@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -37,6 +37,8 @@ DOC_EXTS= html sgml xml
|
|||||||
|
|
||||||
MAN1= bins-edit-gui.1 bins.1 bins_edit.1
|
MAN1= bins-edit-gui.1 bins.1 bins_edit.1
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch::
|
post-patch::
|
||||||
# perl PREFIX safeness
|
# perl PREFIX safeness
|
||||||
@${FIND} ${WRKSRC} -type f | \
|
@${FIND} ${WRKSRC} -type f | \
|
||||||
@ -52,14 +54,12 @@ do-install:
|
|||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.for file in ${BINS_SCRIPTS}
|
.for file in ${BINS_SCRIPTS}
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
|
||||||
.endfor
|
.endfor
|
||||||
.ifndef(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for ext in ${DOC_EXTS}
|
.for ext in ${DOC_EXTS}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ post-install:
|
|||||||
WITH_I18N= yes
|
WITH_I18N= yes
|
||||||
|
|
||||||
post-patch::
|
post-patch::
|
||||||
@${REINPLACE_CMD} -e 's,read dummy,,' ${WRKSRC}/install.sh
|
${REINPLACE_CMD} -e 's,read dummy,,' ${WRKSRC}/install.sh
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-install.sh
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-install.sh
|
||||||
|
@ -14,17 +14,17 @@ COMMENT= Library that simplifies the task of writing CGI programs in C
|
|||||||
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
|
||||||
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
||||||
.for file in CHANGES CREDITS
|
.for file in CHANGES CREDITS
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -20,6 +20,8 @@ PLIST= ${WRKDIR}/pkg-plist
|
|||||||
|
|
||||||
PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS
|
PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
cd ${WRKSRC} && ${FIND} -s * -type f | \
|
cd ${WRKSRC} && ${FIND} -s * -type f | \
|
||||||
${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
|
${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
|
||||||
@ -34,12 +36,10 @@ do-install:
|
|||||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
|
||||||
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
|
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
|
||||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for i in ${PORTDOCS}
|
.for i in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
@ -27,6 +27,8 @@ EX_DATA= flood.dtd relative-averages-time.awk round-robin-dynamic.xml \
|
|||||||
round-robin-relative-reports.xml round-robin-ssl.xml \
|
round-robin-relative-reports.xml round-robin-ssl.xml \
|
||||||
round-robin-timed.xml round-robin.xml
|
round-robin-timed.xml round-robin.xml
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/flood ${STAGEDIR}${PREFIX}/bin/flood
|
${INSTALL_PROGRAM} ${WRKSRC}/flood ${STAGEDIR}${PREFIX}/bin/flood
|
||||||
|
|
||||||
@ -38,11 +40,9 @@ post-install:
|
|||||||
.for f in ${EX_DATA}
|
.for f in ${EX_DATA}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/examples/$f ${STAGEDIR}${EXAMPLESDIR}
|
@${INSTALL_DATA} ${WRKSRC}/examples/$f ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/docbook
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/docbook
|
||||||
@${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
|
@${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/docs/docbook/[Mf]* ${STAGEDIR}${DOCSDIR}/docbook
|
@${INSTALL_DATA} ${WRKSRC}/docs/docbook/[Mf]* ${STAGEDIR}${DOCSDIR}/docbook
|
||||||
.endif
|
|
||||||
|
|
||||||
ANONCVS= cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic
|
ANONCVS= cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic
|
||||||
|
|
||||||
|
@ -21,6 +21,8 @@ PORTDOCS= BLURB COPYING feedback.fcn feedback.html formication.txt
|
|||||||
PLIST_FILES= www/cgi-bin/formication.pl
|
PLIST_FILES= www/cgi-bin/formication.pl
|
||||||
SUB_FILES+= pkg-message
|
SUB_FILES+= pkg-message
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
PLIST_DIRSTRY= www/cgi-bin
|
PLIST_DIRSTRY= www/cgi-bin
|
||||||
@ -33,12 +35,10 @@ post-patch:
|
|||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
|
@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
|
||||||
@${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
|
@${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||||
. for i in ${PORTDOCS}
|
. for i in ${PORTDOCS}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
||||||
. endfor
|
. endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
@ -22,24 +22,24 @@ USES= perl5
|
|||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
POD2MAN?= pod2man
|
POD2MAN?= pod2man
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||||
-e "s|%%DATADIR%%|${DATADIR}|g" \
|
-e "s|%%DATADIR%%|${DATADIR}|g" \
|
||||||
-e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
|
-e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
|
||||||
-e "s|/usr/local/bin/url_handler.sh|${LOCALBASE}/urlview|" \
|
-e "s|/usr/local/bin/url_handler.sh|${LOCALBASE}/urlview|" \
|
||||||
${WRKSRC}/goose
|
${WRKSRC}/goose
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
@cd ${WRKSRC} && ${POD2MAN} goose > goose.1
|
cd ${WRKSRC} && ${POD2MAN} goose > goose.1
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/goose ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/goose ${STAGEDIR}${PREFIX}/bin
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${STAGEDIR}${DATADIR}
|
${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${STAGEDIR}${DATADIR}
|
||||||
${INSTALL_MAN} ${WRKSRC}/goose.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/goose.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
bin/goose
|
bin/goose
|
||||||
man/man1/goose.1.gz
|
man/man1/goose.1.gz
|
||||||
%%DATADIR%%/GoogleSearch.wsdl
|
%%DATADIR%%/GoogleSearch.wsdl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/goose.conf.example
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/goose.conf.example
|
||||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
|
@ -21,9 +21,9 @@ DATAFILES= LICENSE README build.gradle build.properties gradle.properties \
|
|||||||
gradlew conf dist gradle lib media plugins scripts src
|
gradlew conf dist gradle lib media plugins scripts src
|
||||||
SCRIPTFILES= grails grails-debug startGrails
|
SCRIPTFILES= grails grails-debug startGrails
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= api guide index.html css img ref
|
PORTDOCS= api guide index.html css img ref
|
||||||
.endif
|
|
||||||
PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} \
|
PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} \
|
||||||
${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,}
|
${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,}
|
||||||
PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}/bin
|
PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}/bin
|
||||||
@ -44,13 +44,11 @@ do-install:
|
|||||||
@${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file}
|
@${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file}
|
||||||
.endfor
|
.endfor
|
||||||
@${ECHO_MSG} " [ DONE ]"
|
@${ECHO_MSG} " [ DONE ]"
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
||||||
@cd ${WRKSRC}/doc \
|
@cd ${WRKSRC}/doc \
|
||||||
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
|
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
|
||||||
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
@${ECHO_MSG} " [ DONE ]"
|
@${ECHO_MSG} " [ DONE ]"
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \
|
@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \
|
||||||
|
@ -54,9 +54,9 @@ EXTRACT_AFTER_ARGS= --exclude '*.bat' --exclude '*.cmd' \
|
|||||||
${RUN_DEPENDS:M*.jar*:C|.*/(.+).jar:.*|--exclude '\1-*.jar'|} \
|
${RUN_DEPENDS:M*.jar*:C|.*/(.+).jar:.*|--exclude '\1-*.jar'|} \
|
||||||
--exclude 'oro-*.jar'
|
--exclude 'oro-*.jar'
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= docs printable_docs README LICENSE
|
PORTDOCS= docs printable_docs README LICENSE
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
@ -72,12 +72,10 @@ do-install:
|
|||||||
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}/${DATADIR}/{} \;
|
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}/${DATADIR}/{} \;
|
||||||
cd ${WRKSRC} \
|
cd ${WRKSRC} \
|
||||||
&& ${FIND} ${DATAFILES} -type f -not -name '*.orig' -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
|
&& ${FIND} ${DATAFILES} -type f -not -name '*.orig' -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
cd ${WRKSRC} \
|
cd ${WRKSRC} \
|
||||||
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
cd ${WRKSRC} \
|
cd ${WRKSRC} \
|
||||||
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
.endif
|
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/jmeter.sh ${STAGEDIR}${PREFIX}/bin/jmeter
|
${INSTALL_SCRIPT} ${WRKDIR}/jmeter.sh ${STAGEDIR}${PREFIX}/bin/jmeter
|
||||||
|
|
||||||
# For some reason, it is not enough for these three to simply be listed in
|
# For some reason, it is not enough for these three to simply be listed in
|
||||||
|
@ -23,16 +23,16 @@ SUB_FILES= ${PORTNAME}
|
|||||||
SUB_LIST= JSPACKER=${JSPACKER} \
|
SUB_LIST= JSPACKER=${JSPACKER} \
|
||||||
PERL5=${PERL5}
|
PERL5=${PERL5}
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||||
${MKDIR} ${STAGEDIR}${DATADIR} && \
|
${MKDIR} ${STAGEDIR}${DATADIR} && \
|
||||||
cd ${WRKSRC} && \
|
cd ${WRKSRC} && \
|
||||||
${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
|
${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
|
||||||
${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
|
${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
|
||||||
.if !defined(NOPORTEXAMPLES)
|
|
||||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
|
||||||
cd ${WRKSRC} && \
|
cd ${WRKSRC} && \
|
||||||
${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,10 +17,10 @@ GNU_CONFIGURE= yes
|
|||||||
PORTDOCS= Copyright README USAGE
|
PORTDOCS= Copyright README USAGE
|
||||||
PLIST_FILES= bin/mgstat
|
PLIST_FILES= bin/mgstat
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -20,7 +20,11 @@ INSTALL_ARGS= -prefix ${STAGEDIR} -binpath ${STAGEDIR}${PREFIX}/bin \
|
|||||||
-manpath ${STAGEDIR}${PREFIX}/man \
|
-manpath ${STAGEDIR}${PREFIX}/man \
|
||||||
-batch
|
-batch
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
THEDOCSDIR= ${STAGEDIR}${PREFIX}/share/doc/MHonArc
|
THEDOCSDIR= ${STAGEDIR}${PREFIX}/share/doc/MHonArc
|
||||||
DOCSDIR=${PREFIX}/share/doc/MHonArc
|
DOCSDIR=${PREFIX}/share/doc/MHonArc
|
||||||
INSTALL_ARGS+= -docpath ${THEDOCSDIR}
|
INSTALL_ARGS+= -docpath ${THEDOCSDIR}
|
||||||
|
@ -19,7 +19,7 @@ AP_FAST_BUILD= yes
|
|||||||
SRC_FILE= ${PORTNAME}.c sha2.c
|
SRC_FILE= ${PORTNAME}.c sha2.c
|
||||||
AP_EXTRAS= -DAPACHE22
|
AP_EXTRAS= -DAPACHE22
|
||||||
|
|
||||||
OPTIONS_DEFINE= QUERY_SEP
|
OPTIONS_DEFINE= QUERY_SEP DOCS EXAMPLES
|
||||||
QUERY_SEP_DESC= Experimental TKTAuthQuerySeparator directive
|
QUERY_SEP_DESC= Experimental TKTAuthQuerySeparator directive
|
||||||
OPTIONS_DEFAULT=QUERY_SEP
|
OPTIONS_DEFAULT=QUERY_SEP
|
||||||
|
|
||||||
@ -37,7 +37,6 @@ post-build:
|
|||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
cd ${WRKSRC}/../doc; ${MAKE} ${.TARGET:S/post-//}
|
cd ${WRKSRC}/../doc; ${MAKE} ${.TARGET:S/post-//}
|
||||||
.if !defined(NOPORTEXAMPLES)
|
|
||||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cgi/Apache ${STAGEDIR}${EXAMPLESDIR}/conf
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cgi/Apache ${STAGEDIR}${EXAMPLESDIR}/conf
|
||||||
.for i in cgi/AuthTktConfig.pm cgi/Apache/AuthTkt.pm cgi/tkt.css \
|
.for i in cgi/AuthTktConfig.pm cgi/Apache/AuthTkt.pm cgi/tkt.css \
|
||||||
conf/02_auth_tkt.conf conf/auth_tkt_cgi.conf
|
conf/02_auth_tkt.conf conf/auth_tkt_cgi.conf
|
||||||
@ -46,10 +45,7 @@ post-install:
|
|||||||
.for i in logout.cgi login.cgi
|
.for i in logout.cgi login.cgi
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/../cgi/${i} ${STAGEDIR}${EXAMPLESDIR}/cgi/${i}
|
${INSTALL_SCRIPT} ${WRKSRC}/../cgi/${i} ${STAGEDIR}${EXAMPLESDIR}/cgi/${i}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -15,10 +15,10 @@ USE_JAVA= yes
|
|||||||
JAVA_VERSION= 1.6+
|
JAVA_VERSION= 1.6+
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
PORTDOCS= javadoc tlddoc LICENSE.txt NOTICE.txt
|
PORTDOCS= javadoc tlddoc LICENSE.txt NOTICE.txt
|
||||||
.endif
|
|
||||||
JAR_FILES= myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
|
JAR_FILES= myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
|
||||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
||||||
${JAR_FILES:S|^|%%DATADIR%%/|}
|
${JAR_FILES:S|^|%%DATADIR%%/|}
|
||||||
@ -33,9 +33,7 @@ do-install:
|
|||||||
${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
|
${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
@ -20,14 +20,14 @@ PLIST_FILES= bin/netrik \
|
|||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
|
@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
|
||||||
${WRKSRC}/*.c
|
${WRKSRC}/*.c
|
||||||
.if defined(NOPORTDOCS)
|
|
||||||
@${REINPLACE_CMD} "s/install-data-am: install-docDATA/install-data-am:/" \
|
@${REINPLACE_CMD} "s/install-data-am: install-docDATA/install-data-am:/" \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} "s/install-docDATA install-man/install-man/" \
|
@${REINPLACE_CMD} "s/install-docDATA install-man/install-man/" \
|
||||||
${WRKSRC}/doc/Makefile.in
|
${WRKSRC}/doc/Makefile.in
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -25,10 +25,10 @@ USE_APACHE= 22+
|
|||||||
|
|
||||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -19,13 +19,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= modbuild
|
USE_PERL5= modbuild
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes
|
PORTDOCS= Changes
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -18,10 +18,10 @@ USE_PERL5= configure
|
|||||||
|
|
||||||
PORTEXAMPLES= *
|
PORTEXAMPLES= *
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTEXAMPLES)
|
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
||||||
${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}/
|
${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}/
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -18,13 +18,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes README
|
PORTDOCS= Changes README
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -13,13 +13,13 @@ COMMENT= Extremely lightweight CGI processing package
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes README TODO
|
PORTDOCS= Changes README TODO
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,13 +17,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes
|
PORTDOCS= Changes
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,13 +17,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.ifndef(NOPORTDOCS)
|
|
||||||
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/*.pm ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/examples/*.pm ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/*.xsl ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/examples/*.xsl ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
%%PERL5_MAN3%%/CGI::XMLApplication.3.gz
|
%%PERL5_MAN3%%/CGI::XMLApplication.3.gz
|
||||||
%%SITE_PERL%%/CGI/XMLApplication.pm
|
%%SITE_PERL%%/CGI/XMLApplication.pm
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication/.packlist
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication/.packlist
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ex2_finish.xsl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex2_finish.xsl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ex2_form.xsl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex2_form.xsl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example1.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.pl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example1.pm
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.pm
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example2.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.pl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example2.pm
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.pm
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.pl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.pm
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.pm
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.pl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.pm
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.pm
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimal.pl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.xsl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimal.xsl
|
||||||
%%PORTDOCS%%%%EXAMPLESDIR%%/minimalapp.pm
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimalapp.pm
|
||||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
|
||||||
@dirrmtry %%SITE_PERL%%/CGI
|
@dirrmtry %%SITE_PERL%%/CGI
|
||||||
|
@ -19,13 +19,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes README
|
PORTDOCS= Changes README
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -16,13 +16,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= Changes README
|
PORTDOCS= Changes README
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -31,11 +31,11 @@ USE_PERL5= configure
|
|||||||
DOCS= Changes etc/www-mechanize-logo.png
|
DOCS= Changes etc/www-mechanize-logo.png
|
||||||
PORTDOCS= ${DOCS:T}
|
PORTDOCS= ${DOCS:T}
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -28,12 +28,12 @@ SUB_FILES= pebble.properties pkg-message
|
|||||||
|
|
||||||
PKGMESSAGE= ${WRKSRC}/pkg-message
|
PKGMESSAGE= ${WRKSRC}/pkg-message
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= configuration.html credits.html images index.html \
|
PORTDOCS= configuration.html credits.html images index.html \
|
||||||
installation.html license.txt multiblog.html screen.css \
|
installation.html license.txt multiblog.html screen.css \
|
||||||
screenshots.html security.html upgrading1x.html \
|
screenshots.html security.html upgrading1x.html \
|
||||||
upgrading2x.html
|
upgrading2x.html
|
||||||
.endif
|
|
||||||
PLIST_FILES= ${WEBAPP_SUBDIR}/${PORTNAME}.war
|
PLIST_FILES= ${WEBAPP_SUBDIR}/${PORTNAME}.war
|
||||||
PEBBLE_CONTEXT= WEB-INF/applicationContext-pebble.xml
|
PEBBLE_CONTEXT= WEB-INF/applicationContext-pebble.xml
|
||||||
|
|
||||||
@ -43,17 +43,12 @@ do-patch:
|
|||||||
cd ${WRKSRC} && ${LOCALBASE}/bin/zip -u pebble.war ${PEBBLE_CONTEXT}
|
cd ${WRKSRC} && ${LOCALBASE}/bin/zip -u pebble.war ${PEBBLE_CONTEXT}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} "${STAGEDIR}${PEBBLE_HOME}"
|
@${MKDIR} "${STAGEDIR}${PEBBLE_HOME}"
|
||||||
${CHOWN} "www:www" "${STAGEDIR}${PEBBLE_HOME}"
|
${CHOWN} "www:www" "${STAGEDIR}${PEBBLE_HOME}"
|
||||||
${INSTALL_DATA} ${WRKDIR}/pebble.properties ${STAGEDIR}${PEBBLE_PROPERTIES}.sample
|
${INSTALL_DATA} ${WRKDIR}/pebble.properties ${STAGEDIR}${PEBBLE_PROPERTIES}.sample
|
||||||
${MKDIR} ${STAGEDIR}${WEBAPP_DIR}
|
@${MKDIR} ${STAGEDIR}${WEBAPP_DIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/pebble.war ${STAGEDIR}${WEBAPP_DIR}/${PORTNAME}.war
|
${INSTALL_DATA} ${WRKSRC}/pebble.war ${STAGEDIR}${WEBAPP_DIR}/${PORTNAME}.war
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,14 +17,13 @@ COMMENT= A Python library for the generation of HTML documents
|
|||||||
USE_PYTHON= 2
|
USE_PYTHON= 2
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|python |${PYTHON_CMD} |' ${WRKSRC}/Makefile
|
@${REINPLACE_CMD} -e 's|python |${PYTHON_CMD} |' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${TAR} -C ${WRKSRC} -cf - README html image | \
|
@${TAR} -C ${WRKSRC} -cf - README html image | \
|
||||||
@ -32,6 +31,5 @@ post-install:
|
|||||||
@${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
|
@${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
|
||||||
@${FIND} ${STAGEDIR}${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
|
@${FIND} ${STAGEDIR}${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
|
||||||
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
|
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,12 +17,12 @@ LICENSE= BSD3CLAUSE
|
|||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/html
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/html
|
||||||
@${TAR} -cf - -C ${WRKSRC}/doc . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}
|
@${TAR} -cf - -C ${WRKSRC}/doc . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}
|
||||||
@${TAR} -cf - -C ${WRKDIR}/albatross-html-${PORTVERSION} . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}/html
|
@${TAR} -cf - -C ${WRKDIR}/albatross-html-${PORTVERSION} . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}/html
|
||||||
@${TAR} -cf - -C ${WRKSRC}/samples . | ${TAR} -xf - -C ${STAGEDIR}${EXAMPLESDIR}
|
@${TAR} -cf - -C ${WRKSRC}/samples . | ${TAR} -xf - -C ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -18,14 +18,12 @@ PYDISTUTILS_PKGNAME= pYsearch
|
|||||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${CP} -R ${WRKSRC}/docs/ ${STAGEDIR}${DOCSDIR}
|
${CP} -R ${WRKSRC}/docs/ ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
|
||||||
.if !defined(NOPORTEXAMPLES)
|
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
|
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -26,30 +26,31 @@ PORTDOCS= *
|
|||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
||||||
|
|
||||||
.if defined(WITH_GNUTLS)
|
OPTIONS_DEFINE= DOCS
|
||||||
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls
|
OPTIONS_RADIO= BACKEND
|
||||||
CONFIGURE_ARGS+= --set-tls=1
|
BACKEND_DESC= SSL Backend
|
||||||
.elif defined(WITH_OPENSSL)
|
OPTIONS_RADIO_BACKEND= OPENSSL GNUTLS
|
||||||
USE_OPENSSL= yes
|
|
||||||
CONFIGURE_ARGS+= --set-tls=2
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
|
||||||
LDFLAGS+= -lssl -lcrypto
|
GNUTLS_CONFIGURE_ON= --set-tls=1
|
||||||
.endif
|
|
||||||
|
OPENSSL_USE= OPENSSL=yes
|
||||||
|
OPENSSL_CONFIGURE_ON= --set-tls=2
|
||||||
|
OPENSSL_LDFLAGS= -lssl -lcrypto
|
||||||
|
|
||||||
post-configure:
|
post-configure:
|
||||||
@${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
|
${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
|
||||||
s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config
|
s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/retawq ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/retawq ${STAGEDIR}${PREFIX}/bin
|
||||||
@${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||||
.for lang in de es fr pt_BR
|
.for lang in de es fr pt_BR
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
|
||||||
@${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
|
${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
|
||||||
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
|
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
|
||||||
.endfor
|
.endfor
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/docu/*.html ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/docu/*.html ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -17,12 +17,14 @@ GNU_CONFIGURE= yes
|
|||||||
MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
|
MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
|
||||||
pkgdatadir="${DATADIR}"
|
pkgdatadir="${DATADIR}"
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(NOPORTDOCS)
|
.if empty(PORT_OPTIONS:MDOCS)
|
||||||
@${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \
|
@${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
.for p in pod prog-bin conf filter-bin filters html
|
.for p in pod prog-bin conf filter-bin filters html
|
||||||
|
@ -19,7 +19,7 @@ NO_BUILD= YES
|
|||||||
LIBDIR= lib/tclwebtest${PORTVERSION}
|
LIBDIR= lib/tclwebtest${PORTVERSION}
|
||||||
PLIST_SUB+= LIBDIR="${LIBDIR}"
|
PLIST_SUB+= LIBDIR="${LIBDIR}"
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
||||||
@ -36,11 +36,9 @@ do-install:
|
|||||||
${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
|
${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${ECHO} "Installing docs"
|
@${ECHO} "Installing docs"
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
|
||||||
@${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
|
${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
|
||||||
@${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
|
${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -18,21 +18,21 @@ USES= libtool
|
|||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
|
${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
|
||||||
@${REINPLACE_CMD} \
|
${REINPLACE_CMD} \
|
||||||
-e '/SUBDIRS = / s| docs||' \
|
-e '/SUBDIRS = / s| docs||' \
|
||||||
-e '/^install-data-am:/ s| install-docsDATA||' \
|
-e '/^install-data-am:/ s| install-docsDATA||' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
# Do not install wsdlpull-config.1 for the absence of wsdlpull-config
|
# Do not install wsdlpull-config.1 for the absence of wsdlpull-config
|
||||||
@${REINPLACE_CMD} \
|
${REINPLACE_CMD} \
|
||||||
-e '/^man_MANS = / s| wsdlpull-config.1||' \
|
-e '/^man_MANS = / s| wsdlpull-config.1||' \
|
||||||
${WRKSRC}/man/Makefile.in
|
${WRKSRC}/man/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}
|
||||||
cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}/
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user