aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portconf
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-06-08 10:21:20 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-06-08 10:21:20 +0000
commit14fb5aeba0e62aa84bd9ee0bfbd7d02ec11a3b1b (patch)
treef689e99166ac109684cb812cb823a364eead725b /ports-mgmt/portconf
parentc0044a8550b1dfcb7e1e0cd20c08a22b177d2619 (diff)
downloadports-14fb5aeba0e62aa84bd9ee0bfbd7d02ec11a3b1b.tar.gz
ports-14fb5aeba0e62aa84bd9ee0bfbd7d02ec11a3b1b.zip
Give better make example.
Notes
Notes: svn path=/head/; revision=164805
Diffstat (limited to 'ports-mgmt/portconf')
-rw-r--r--ports-mgmt/portconf/files/pkg-message.in27
1 files changed, 13 insertions, 14 deletions
diff --git a/ports-mgmt/portconf/files/pkg-message.in b/ports-mgmt/portconf/files/pkg-message.in
index 34e74cbf9968..378c54735cf4 100644
--- a/ports-mgmt/portconf/files/pkg-message.in
+++ b/ports-mgmt/portconf/files/pkg-message.in
@@ -1,28 +1,27 @@
-*********************************************************
+************************************************************************
-To enable port-specific make variables, add the following
-lines into your /etc/make.conf file:
+To enable port-specific make variables, add the following lines
+into your /etc/make.conf file:
-============== cut here ==============
-.if !empty(.CURDIR:M/usr/ports*)
+=============================== cut here ===============================
+.if !empty(.CURDIR:M/usr/ports*) && exists(%%PREFIX%%/libexec/portconf)
_PORTCONF!=%%PREFIX%%/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif
-======================================
+========================================================================
-and create the %%PREFIX%%/etc/ports.conf configuration
-file with the following syntax:
+and create the %%PREFIX%%/etc/ports.conf configuration file
+with the following syntax:
----------------------------------------------------------
+------------------------------------------------------------------------
editors/openoffice*: WITH_CCACHE|LOCALIZED_LANG=it
www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it
x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc"
----------------------------------------------------------
+------------------------------------------------------------------------
-Global port directory patterns and blanks around
-the pipe "|" symbol are allowed.
-Values shouldn't be quoted even if they contain spaces.
+Global port directory patterns and blanks around the pipe "|" symbol
+are allowed. Values shouldn't be quoted even if they contain spaces.
-*********************************************************
+************************************************************************