# New ports collection makefile for: portconf
# Created by: Alex Dupre <ale@FreeBSD.org>
# Date created: 7 Jun 2006
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD: ports/ports-mgmt/portconf/Makefile,v 1.8 2012/11/17 06:00:46 svnexp Exp $
# This port is self contained in the files directory.
PORTNAME= portconf
PORTVERSION= 1.5
PORTVERSION= 1.6
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
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-Za-z0-9_]+)(=([^|]+))?/\1=\3/g;s/!([A-Za-z0-9_]+)=([^|]+)?/.undef \1/g;s/ *\| */|/g;s/ /%/g'
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'
fi
done