From owner-svn-doc-all@FreeBSD.ORG Wed Jul 18 09:39:19 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6721065674; Wed, 18 Jul 2012 09:39:19 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E53D08FC12; Wed, 18 Jul 2012 09:39:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6I9dI1d051574; Wed, 18 Jul 2012 09:39:18 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6I9dIY5051571; Wed, 18 Jul 2012 09:39:18 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201207180939.q6I9dIY5051571@svn.freebsd.org> From: Niclas Zeising Date: Wed, 18 Jul 2012 09:39:18 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r39231 - head/en_US.ISO8859-1/books/porters-handbook X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 09:39:19 -0000 Author: zeising Date: Wed Jul 18 09:39:18 2012 New Revision: 39231 URL: http://svn.freebsd.org/changeset/doc/39231 Log: Small fixes to the porters handbook. - Add MASTER_SITE_SUBDIR example - Remove third column from USE_APACHE table and fix link to wiki - Add missing - Remove major shlib version number from examples - Add PgSQL 92 version number - Change location of innd to the right one in example PR: doc/169864 (with minor fixes from me) Submitted by: ohauer Approved by: joel (mentor) Modified: head/en_US.ISO8859-1/books/porters-handbook/book.sgml Modified: head/en_US.ISO8859-1/books/porters-handbook/book.sgml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/book.sgml Wed Jul 18 08:54:09 2012 (r39230) +++ head/en_US.ISO8859-1/books/porters-handbook/book.sgml Wed Jul 18 09:39:18 2012 (r39231) @@ -2447,6 +2447,10 @@ MASTER_SITE_SUBDIR= makeMASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION} + This can be also written as + MASTER_SITES= SF +MASTER_SITE_SUBDIR= stardict/WyabdcRealPeopleTTS/${PORTVERSION} + Popular Magic <makevar>MASTER_SITES</makevar> Macros @@ -3448,10 +3452,10 @@ ALWAYS_KEEP_DISTFILES= yes and target is the target to call in that directory. For example, - LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg - will check for a shared jpeg library with major - version 9, and descend into the + will check for a shared jpeg library with any version, + and descend into the graphics/jpeg subdirectory of your ports tree to build and install it if it is not found. The target part can be omitted if it @@ -3462,13 +3466,13 @@ ALWAYS_KEEP_DISTFILES= yes The lib part is a regular expression which is being looked up in the ldconfig -r output. Values such as - intl.[5-7] and intl + intl.9 and intl.[5-7] are allowed. The first pattern, + intl.9, will match only version 9 of + intl, while intl.[5-7], will match any of: intl.5, intl.6 or - intl.7. The second pattern, - intl, will match any version of the - intl library. + intl.7. The dependency is checked twice, once from within the @@ -3499,11 +3503,11 @@ ALWAYS_KEEP_DISTFILES= yes For example, - RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \ + RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn \ xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr will check if the file or directory - /usr/local/etc/innd exists, and build + /usr/local/news/bin/innd exists, and build and install it from the news/inn subdirectory of the ports tree if it is not found. It will also see if an executable called @@ -4458,7 +4462,7 @@ CONFIGURE_ARGS+= --with-foo Wrong Handling of an Option .if ${PORT_OPTIONS:MFOO} -LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo CONFIGURE_ARGS+= --enable-foo .endif @@ -4477,7 +4481,7 @@ CONFIGURE_ARGS+= --enable-foo Correct Handling of an Option .if ${PORT_OPTIONS:MFOO} -LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo CONFIGURE_ARGS+= --enable-foo .else CONFIGURE_ARGS+= --disable-foo @@ -6990,11 +6994,10 @@ QT_COMPONENTS= moc_build qmake_build rcc 20, 22, 20-22, 20+, etc. The default APACHE version is - 22. - More details are available in + 22. More details are available in ports/Mk/bsd.apache.mk and at - . + + wiki.freebsd.org/Apache/. @@ -7022,7 +7025,7 @@ QT_COMPONENTS= moc_build qmake_build rcc available after inclusion of bsd.port.pre.mk. Possible values: 20, - 22. + 22. @@ -9046,7 +9049,7 @@ CFLAGS+= -DLUA_VERSION_STRING="${VER_STR role="package">databases/postgresql90-client port. An associated variable, WANT_PGSQL_VER, may be set to - values such as 83, 84, 90, or 91. You can declare a + values such as 83, 84, 90, 91 or 92. You can declare a minimum or maximum value; WANT_PGSQL_VER= 90+ will cause the @@ -16219,7 +16222,7 @@ COMMENT= A DVI Previewer for the X Windo [dependencies -- can be empty] RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript -LIB_DEPENDS= Xpm.5:${PORTSDIR}/graphics/xpm +LIB_DEPENDS= Xpm:${PORTSDIR}/graphics/xpm [this section is for other standard bsd.port.mk variables that do not belong to any of the above]