- Switch to options helpers
- Add some NO_ARCHes Approved by: portmgr blanket
This commit is contained in:
parent
c8468db7fa
commit
a812006ba7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396577
@ -70,9 +70,9 @@ post-patch:
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} 's|\(info_file_inst = CouchDB\)$$|\1.info|' \
|
||||
${WRKSRC}/share/doc/build/Makefile.in
|
||||
.if !${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} -e 's/install-data-am$$//' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
# Cater for parallel Spidermonkey v1.7 and v1.8.5 installs by ensuring that
|
||||
|
@ -29,18 +29,14 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
ALL_TARGET+= htdoc
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
DOCS_ALL_TARGET= htdoc
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,OCAMLFIND_INSTFLAGS=,OCAMLFIND_INSTFLAGS=-ldconf ignore ,' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,26 +18,24 @@ DIST_SUBDIR= postgresql
|
||||
|
||||
USE_ANT= yes
|
||||
USE_JAVA= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/postgresql.jar
|
||||
PORTDOCS= *
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,11 +19,8 @@ USE_PYTHON= distutils autoplist
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/changes.txt ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,8 +17,6 @@ MAKE_ARGS= USE_PGXS=1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql/
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/table_log.so \
|
||||
@ -26,10 +24,10 @@ do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
|
||||
@${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
|
||||
${STAGEDIR}${PREFIX}/share/postgresql/contrib/
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} README.table_log table_log.sql \
|
||||
${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -43,14 +43,11 @@ ORACLE_BUILD_DEPENDS= ${ORACLE_HOME}/lib/libclntsh.a:${PORTSDIR}/databases/oracl
|
||||
ORACLE_RUN_DEPENDS= ${ORACLE_HOME}/network/admin/tnsnames.ora:${PORTSDIR}/databases/oracle8-client
|
||||
ORACLE_CONFIGURE_ON= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:tu}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-patch-DOCS-on:
|
||||
@${REINPLACE_CMD} 's|/etc/torarc|${PREFIX}/etc/torarc|' \
|
||||
${PREFIX2FIX:S|^|${WRKSRC}/|}
|
||||
.else
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} 's|test doc|test|' ${WRKSRC}/Makefile.am
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,8 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
||||
USES= python
|
||||
PORTDOCS= ChangeLog README
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|cfg_files.reverse()|cfg_files += [os.path.join("'${PREFIX}/etc/'",cfg_filename)]; cfg_files.reverse()|' \
|
||||
@ -40,10 +39,10 @@ do-install:
|
||||
${LN} -sf ${PREFIX}/share/anamnesis/anamnesis.py ${STAGEDIR}${PREFIX}/bin/anamnesis
|
||||
${INSTALL_DATA} ${WRKSRC}/anamnesis.cfg ${STAGEDIR}${PREFIX}/etc/anamnesis.cfg.sample
|
||||
${INSTALL_MAN} ${WRKSRC}/man/anamnesis.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,6 +23,7 @@ GH_ACCOUNT= insanum
|
||||
USES= python
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= README.md gcalcli_?.png
|
||||
|
||||
@ -39,14 +40,12 @@ ICS_VCAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:${PORTSDIR}/deskutil
|
||||
SIMPLEJSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson
|
||||
FUZZYDATES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parsedatetime>=0:${PORTSDIR}/devel/py-parsedatetime
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,14 +39,12 @@ DESKTOP_ENTRIES= "Nagaina" \
|
||||
"Qt;Office;Utility;" \
|
||||
"true"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,6 +21,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= tar:bz2
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
USE_PHP= session pcre
|
||||
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
SUB_FILES= pkg-message
|
||||
@ -30,8 +31,6 @@ PORTDOCS= AUTHORS COPYING README TIMEZONES
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
|
||||
@ -42,9 +41,9 @@ do-install:
|
||||
.for f in caldav.php config.inc.php.sample day.php default_config.php error.php index.php month.php preferences.php print.php search.php week.php year.php
|
||||
@${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,15 +13,14 @@ DISTNAME= ${PORTNAME}-1.1p8
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Simple to-do list manager
|
||||
|
||||
USES+= tk:run
|
||||
USES= tk:run
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PLIST_FILES= bin/zorro
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \
|
||||
${WRKSRC}/zorro
|
||||
@ -30,13 +29,11 @@ post-patch:
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/zorro ${STAGEDIR}${PREFIX}/bin/zorro
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${STAGEDIR}${DOCSDIR}/
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Take a look at ${STAGEDIR}${DOCSDIR}/DOTzorrorc"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user