aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-06-08 18:21:20 +0800
committerale <ale@FreeBSD.org>2006-06-08 18:21:20 +0800
commit86437a7aca32d030c4c89888485c8247ac67ad6d (patch)
treeb48b632e3dcdcca0cb72664158a7a16691e6a286 /ports-mgmt
parent8d08e8743bd8864cf0d80cd8d68249ec161a0ffb (diff)
downloadfreebsd-ports-graphics-86437a7aca32d030c4c89888485c8247ac67ad6d.tar.gz
freebsd-ports-graphics-86437a7aca32d030c4c89888485c8247ac67ad6d.tar.zst
freebsd-ports-graphics-86437a7aca32d030c4c89888485c8247ac67ad6d.zip
Give better make example.
Diffstat (limited to 'ports-mgmt')
-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 34e74cbf996..378c54735cf 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.
-*********************************************************
+************************************************************************