diff options
-rw-r--r-- | benchmarks/httperf/Makefile | 11 | ||||
-rw-r--r-- | biology/velvet/Makefile | 6 | ||||
-rw-r--r-- | comms/tio/Makefile | 6 | ||||
-rw-r--r-- | databases/pgbarman/Makefile | 11 | ||||
-rw-r--r-- | databases/powerarchitect/Makefile | 15 | ||||
-rw-r--r-- | deskutils/showdown/Makefile | 2 | ||||
-rw-r--r-- | devel/api-sanity-autotest/Makefile | 9 | ||||
-rw-r--r-- | devel/git-modes/Makefile | 10 | ||||
-rw-r--r-- | devel/gtkparasite/Makefile | 4 | ||||
-rw-r--r-- | devel/jsmin/Makefile | 10 | ||||
-rw-r--r-- | devel/libaura/Makefile | 14 | ||||
-rw-r--r-- | devel/libdfui/Makefile | 12 | ||||
-rw-r--r-- | dns/noip/Makefile | 8 | ||||
-rw-r--r-- | editors/with-editor/Makefile | 19 | ||||
-rw-r--r-- | math/prng/Makefile | 19 | ||||
-rw-r--r-- | textproc/atom/Makefile | 8 | ||||
-rw-r--r-- | textproc/c2html/Makefile | 19 | ||||
-rw-r--r-- | www/tidy/Makefile | 11 |
18 files changed, 109 insertions, 85 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile index d1c0fa9765f6..cf2d111b1404 100644 --- a/benchmarks/httperf/Makefile +++ b/benchmarks/httperf/Makefile @@ -19,16 +19,17 @@ MAKE_ARGS= LIBUTIL_OBJS=ssl_writev.o \ PLIST_FILES= bin/httperf \ man/man1/httperf.1.gz +PORTDOCS= ChangeLog NEWS README TODO OPTIONS_DEFINE= DOCS -PORTDOCS= ChangeLog NEWS README TODO do-install: - ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/biology/velvet/Makefile b/biology/velvet/Makefile index ddf53f4a7136..d57d74084880 100644 --- a/biology/velvet/Makefile +++ b/biology/velvet/Makefile @@ -77,7 +77,9 @@ do-install: .for f in ${PERLMOD_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${f:H:T}/${f:T} .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/comms/tio/Makefile b/comms/tio/Makefile index bbbcbe43759b..b55246472c60 100644 --- a/comms/tio/Makefile +++ b/comms/tio/Makefile @@ -21,8 +21,8 @@ OPTIONS_SUB= yes BASH_CONFIGURE_WITH= bash-completion-dir -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/databases/pgbarman/Makefile b/databases/pgbarman/Makefile index 89173c0e6c6b..5c5431d54747 100644 --- a/databases/pgbarman/Makefile +++ b/databases/pgbarman/Makefile @@ -31,6 +31,8 @@ USE_PYTHON= autoplist distutils concurrent optsuffix PORTDOCS= tutorial.pdf +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${PGSQL_VER:M9\.[12345]} @@ -48,9 +50,12 @@ post-patch: ${SED} -i -e "s@%%PGUSER%%@${PGUSER}@" ${WRKSRC}/doc/barman.5 post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf ${STAGEDIR}${ETCDIR}/barman.conf.sample + ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \ + ${STAGEDIR}${ETCDIR}/barman.conf.sample + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> diff --git a/databases/powerarchitect/Makefile b/databases/powerarchitect/Makefile index bb3b4800973e..11124ec2e8be 100644 --- a/databases/powerarchitect/Makefile +++ b/databases/powerarchitect/Makefile @@ -12,15 +12,8 @@ COMMENT= Data modeling and profiling tool LICENSE= GPLv3 -OPTIONS_DEFINE= MYSQL_JDBC PGSQL_JDBC - -MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java -PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc - USE_JAVA= yes - JAVA_VERSION= 1.6+ - NO_BUILD= yes PORTDOCS= * @@ -28,6 +21,11 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/architect-${PORTVERSION} SUB_FILES= ${PORTNAME} +OPTIONS_DEFINE= DOCS MYSQL_JDBC PGSQL_JDBC + +MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java +PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc + do-install: @${MKDIR} ${STAGEDIR}/${DATADIR}/jdbc (cd ${WRKSRC}/ && \ @@ -36,7 +34,8 @@ do-install: ${COPYTREE_SHARE} lib ${STAGEDIR}/${DATADIR}) ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR} .include <bsd.port.mk> diff --git a/deskutils/showdown/Makefile b/deskutils/showdown/Makefile index 289ddbb45c9f..88d736218ba9 100644 --- a/deskutils/showdown/Makefile +++ b/deskutils/showdown/Makefile @@ -37,6 +37,6 @@ post-install: post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/api-sanity-autotest/Makefile b/devel/api-sanity-autotest/Makefile index a71ae8b04213..4c08d306cb93 100644 --- a/devel/api-sanity-autotest/Makefile +++ b/devel/api-sanity-autotest/Makefile @@ -28,7 +28,10 @@ USE_PERL5= run USE_GCC= 4.8 # same as devel/elfutils NO_BUILD= yes + PLIST_FILES= bin/${PORTNAME}.pl +PORTDOCS= Changes.html Descriptor.html Options.html Readme.html \ + SpecType.html OPTIONS_DEFINE= DOCS @@ -55,17 +58,13 @@ post-patch: do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin - .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) check regression-test test: build cd ${WRKSRC}; ${PERL} ./${PORTNAME}.pl -test - .endif -PORTDOCS= Changes.html Descriptor.html Options.html Readme.html SpecType.html - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/git-modes/Makefile b/devel/git-modes/Makefile index f25b625cf6f7..fec2a7b4234b 100644 --- a/devel/git-modes/Makefile +++ b/devel/git-modes/Makefile @@ -33,8 +33,12 @@ GIT_SUBVERSION_RUN_DEPENDS= git-subversion>0:devel/git-subversion GIT_SUBVERSION_RUN_DEPENDS_OFF= git>0:devel/git do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${ELISPDIR} - ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ + ${STAGEDIR}${PREFIX}/${ELISPDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/gtkparasite/Makefile b/devel/gtkparasite/Makefile index a7007bae44ad..4c500d9f641b 100644 --- a/devel/gtkparasite/Makefile +++ b/devel/gtkparasite/Makefile @@ -24,8 +24,8 @@ PLIST_FILES= lib/gtk-2.0/modules/libgtkparasite.so OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/USAGE ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/USAGE ${STAGEDIR}/${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/jsmin/Makefile b/devel/jsmin/Makefile index ddaa1719f4b3..afe25d6edd0e 100644 --- a/devel/jsmin/Makefile +++ b/devel/jsmin/Makefile @@ -16,14 +16,16 @@ GH_TAGNAME= 1bf6ce5 PLIST_FILES= bin/jsmin PORTDOCS= README -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/libaura/Makefile b/devel/libaura/Makefile index 47545a1a0deb..6fc21c2d8816 100644 --- a/devel/libaura/Makefile +++ b/devel/libaura/Makefile @@ -9,9 +9,11 @@ MASTER_SITES= LOCAL/philip MAINTAINER= rodrigo@FreeBSD.org COMMENT= Library of Assorted Useful Reusable Abstractions -USES= tar:bzip2 +USES= tar:bzip2 USE_LDCONFIG= yes +MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK} + SONAME= ${SOLINK}.3 SOLINK= ${PORTNAME}3.so @@ -24,18 +26,20 @@ PLIST_FILES= lib/${SONAME} \ include/aura3/mem.h PORTDOCS= README -MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK} +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SONAME} - ${LN} -s ${PREFIX}/lib/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SOLINK} + ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib + ${LN} -s ${SONAME} ${STAGEDIR}${PREFIX}/lib/${SOLINK} ${MKDIR} ${STAGEDIR}${PREFIX}/include/aura3/ ${INSTALL_DATA} ${WRKSRC}/buffer.h ${STAGEDIR}${PREFIX}/include/aura3/ ${INSTALL_DATA} ${WRKSRC}/dict.h ${STAGEDIR}${PREFIX}/include/aura3/ ${INSTALL_DATA} ${WRKSRC}/popen.h ${STAGEDIR}${PREFIX}/include/aura3/ ${INSTALL_DATA} ${WRKSRC}/fspred.h ${STAGEDIR}${PREFIX}/include/aura3/ ${INSTALL_DATA} ${WRKSRC}/mem.h ${STAGEDIR}${PREFIX}/include/aura3/ + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/libdfui/Makefile b/devel/libdfui/Makefile index 2046afe08433..30ec1a41d609 100644 --- a/devel/libdfui/Makefile +++ b/devel/libdfui/Makefile @@ -13,9 +13,11 @@ LICENSE= BSD3CLAUSE LIB_DEPENDS= libaura3.so:devel/libaura -USES= tar:bzip2 +USES= tar:bzip2 USE_LDCONFIG= yes +MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK} + SONAME= ${SOLINK}.4 SOLINK= ${PORTNAME}4.so @@ -31,13 +33,13 @@ PLIST_FILES= lib/${SONAME} \ include/dfui4/system.h PORTDOCS= README -MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK} +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SONAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib ${LN} -s ${SONAME} ${STAGEDIR}${PREFIX}/lib/${SOLINK} ${MKDIR} ${STAGEDIR}${PREFIX}/include/dfui4 ${INSTALL_DATA} ${WRKSRC}/conn_caps.h ${STAGEDIR}${PREFIX}/include/dfui4/ @@ -48,7 +50,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/encoding.h ${STAGEDIR}${PREFIX}/include/dfui4/ ${INSTALL_DATA} ${WRKSRC}/lang.h ${STAGEDIR}${PREFIX}/include/dfui4/ ${INSTALL_DATA} ${WRKSRC}/system.h ${STAGEDIR}${PREFIX}/include/dfui4/ + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/dns/noip/Makefile b/dns/noip/Makefile index 8322669284ad..45364a3a02b8 100644 --- a/dns/noip/Makefile +++ b/dns/noip/Makefile @@ -27,9 +27,11 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} conf: (cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C) diff --git a/editors/with-editor/Makefile b/editors/with-editor/Makefile index 29e0f2a226f5..9f6692482b5c 100644 --- a/editors/with-editor/Makefile +++ b/editors/with-editor/Makefile @@ -18,22 +18,25 @@ GH_ACCOUNT= magit USES= gmake makeinfo USE_EMACS= yes +MAKE_ENV= EFLAGS="-L ${PREFIX}/${EMACS_SITE_LISPDIR}" NO_ARCH= yes INFO= with-editor PORTDOCS= README.md -OPTIONS_DEFINE= DOCS - -MAKE_ENV+= EFLAGS="-L ${PREFIX}/${EMACS_SITE_LISPDIR}" - PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/with-editor.el \ ${EMACS_VERSION_SITE_LISPDIR}/with-editor.elc \ ${EMACS_VERSION_SITE_LISPDIR}/with-editor-autoloads.el +OPTIONS_DEFINE= DOCS + do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} - ${INSTALL_MAN} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} - ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/math/prng/Makefile b/math/prng/Makefile index c3f49462043d..6570f06a3b38 100644 --- a/math/prng/Makefile +++ b/math/prng/Makefile @@ -20,21 +20,14 @@ PORTEXAMPLES= Makefile pairs.c tuples.c OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for _d in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/doc/${_d} ${STAGEDIR}${DOCSDIR} -.endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -.for _e in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/examples/${_e} ${STAGEDIR}${EXAMPLESDIR} -.endfor -.endif + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/examples/,} \ + ${STAGEDIR}${EXAMPLESDIR} check regression-test test: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ diff --git a/textproc/atom/Makefile b/textproc/atom/Makefile index afd034095919..4a857c295ae9 100644 --- a/textproc/atom/Makefile +++ b/textproc/atom/Makefile @@ -17,10 +17,14 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/atom man/man1/atom.1.gz PORTDOCS= README TODO testFile +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile index ee3d4f6c4f6f..c76859d603ae 100644 --- a/textproc/c2html/Makefile +++ b/textproc/c2html/Makefile @@ -1,24 +1,25 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ -PORTNAME= c2html -PORTVERSION= 0.9.6 -CATEGORIES= textproc www -MASTER_SITES= SUNSITE/apps/www/converters +PORTNAME= c2html +PORTVERSION= 0.9.6 +CATEGORIES= textproc www +MASTER_SITES= SUNSITE/apps/www/converters -MAINTAINER= mkamm@gmx.net +MAINTAINER= mkamm@gmx.net COMMENT= C-language sources to HTML converter LICENSE= GPLv2 GNU_CONFIGURE= yes + PLIST_FILES= bin/c2html man/man1/c2html.1.gz PORTDOCS= AUTHORS NEWS README -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/www/tidy/Makefile b/www/tidy/Makefile index 18ec163a3f22..97ff2b55deee 100644 --- a/www/tidy/Makefile +++ b/www/tidy/Makefile @@ -25,10 +25,11 @@ do-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tidy ${STAGEDIR}${PREFIX}/bin/tidy4 - ${INSTALL_MAN} ${WRKSRC}/man_page.txt ${STAGEDIR}${PREFIX}/man/man1/tidy4.1 - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for docfile in ${DOCFILES} - ${INSTALL_MAN} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}/ -.endfor + ${INSTALL_MAN} ${WRKSRC}/man_page.txt \ + ${STAGEDIR}${PREFIX}/man/man1/tidy4.1 + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |