From ed27103d387a95f9fbed63deafa25a17a8a21a8b Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 9 Jul 2012 13:49:02 +0000 Subject: Match also lowercase letters in port knobs (used by ghostscript) and update pkg-message. --- ports-mgmt/portconf/Makefile | 2 +- ports-mgmt/portconf/files/pkg-message.in | 2 +- ports-mgmt/portconf/files/portconf.sh.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ports-mgmt/portconf') diff --git a/ports-mgmt/portconf/Makefile b/ports-mgmt/portconf/Makefile index e0422753537a..ae4f353849e6 100644 --- a/ports-mgmt/portconf/Makefile +++ b/ports-mgmt/portconf/Makefile @@ -8,7 +8,7 @@ # PORTNAME= portconf -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portconf/files/pkg-message.in b/ports-mgmt/portconf/files/pkg-message.in index dfc8b199c4f9..37ee60ebb7db 100644 --- a/ports-mgmt/portconf/files/pkg-message.in +++ b/ports-mgmt/portconf/files/pkg-message.in @@ -7,7 +7,7 @@ with the following syntax: --------------------------------------------------------- # this is a comment *: NOPORTDOCS -editors/openoffice.org-2: WITH_CCACHE|LOCALIZED_LANG=it +editors/openoffice-3: WITH_CCACHE|LOCALIZED_LANG=it print/ghostscript-* print/lpr-wrapper: A4 sysutils/fusefs-kmod*: !KERNCONF | !NOPORTDOCS www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it diff --git a/ports-mgmt/portconf/files/portconf.sh.in b/ports-mgmt/portconf/files/portconf.sh.in index e40e2468cfaf..5a3ac83df3f9 100644 --- a/ports-mgmt/portconf/files/portconf.sh.in +++ b/ports-mgmt/portconf/files/portconf.sh.in @@ -36,7 +36,7 @@ _pwd=`pwd` sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do for _port in ${_line%%:*}; do if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then - echo ${_line#*:} | sed -E 's/([A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/!([A-Z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g' + echo ${_line#*:} | sed -E 's/([A-Za-z0-9_]+)(=([^|]+))?/\1=\3/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g' fi done done -- cgit