View | Details | Raw Unified | Return to bug 181119
Collapse All | Expand All

(-)./Makefile (-5 / +2 lines)
Lines 1-14 Link Here
1
# New ports collection makefile for:	portconf
1
# Created by: Alex Dupre <ale@FreeBSD.org>
2
# Date created:			7 Jun 2006
3
# Whom:				Alex Dupre <ale@FreeBSD.org>
4
#
5
# $FreeBSD: ports/ports-mgmt/portconf/Makefile,v 1.8 2012/11/17 06:00:46 svnexp Exp $
2
# $FreeBSD: ports/ports-mgmt/portconf/Makefile,v 1.8 2012/11/17 06:00:46 svnexp Exp $
6
#
3
#
7
# This port is self contained in the files directory.
4
# This port is self contained in the files directory.
8
#
5
#
9
6
10
PORTNAME=	portconf
7
PORTNAME=	portconf
11
PORTVERSION=	1.5
8
PORTVERSION=	1.6
12
CATEGORIES=	ports-mgmt
9
CATEGORIES=	ports-mgmt
13
MASTER_SITES=	# none
10
MASTER_SITES=	# none
14
DISTFILES=	# none
11
DISTFILES=	# none
(-)./files/portconf.sh.in (-1 / +1 lines)
Lines 36-42 Link Here
36
sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do
36
sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do
37
    for _port in ${_line%%:*}; do
37
    for _port in ${_line%%:*}; do
38
        if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then
38
        if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then
39
            echo ${_line#*:} | sed -E 's/([A-Za-z0-9_]+)(=([^|]+))?/\1=\3/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g'
39
            echo ${_line#*:} | sed -E 's/([A-Za-z0-9_]+)(\+)?(=([^|]+))?/\1\2=\4/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g'
40
        fi
40
        fi
41
    done
41
    done
42
done
42
done

Return to bug 181119