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

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	portconf
4
PORTNAME=	portconf
5
PORTVERSION=	1.6
5
PORTVERSION=	1.6
6
PORTREVISION=	1
6
CATEGORIES=	ports-mgmt
7
CATEGORIES=	ports-mgmt
7
MASTER_SITES=	# none
8
MASTER_SITES=	# none
8
DISTFILES=	# none
9
DISTFILES=	# none
(-)files/portconf.sh.in (+1 lines)
Lines 29-34 Link Here
29
#
29
#
30
30
31
_conf=%%PREFIX%%/etc/ports.conf
31
_conf=%%PREFIX%%/etc/ports.conf
32
echo -n "|"
32
if [ ! -r "${_conf}" ]; then
33
if [ ! -r "${_conf}" ]; then
33
    exit
34
    exit
34
fi
35
fi
(-)pkg-install (-2 / +4 lines)
Lines 10-19 Link Here
10
# Do not touch these lines
10
# Do not touch these lines
11
.if !empty(.CURDIR:M${PORTS_DIR}*) && exists(${PKG_PREFIX}/libexec/portconf)
11
.if !empty(.CURDIR:M${PORTS_DIR}*) && exists(${PKG_PREFIX}/libexec/portconf)
12
_PORTCONF!=${PKG_PREFIX}/libexec/portconf
12
_PORTCONF!=${PKG_PREFIX}/libexec/portconf
13
.for i in \${_PORTCONF:S/|/ /g}
13
.if \${_PORTCONF} != "|"
14
\${i:S/%/ /g}
14
.for i in \${_PORTCONF:S/^|//:S/|/ /g}
15
\${i:C/^([^=]*)=.*/\1/}=\${i:C/^[^=]*=//:S/%/ /g}
15
.endfor
16
.endfor
16
.endif
17
.endif
18
.endif
17
# End portconf settings
19
# End portconf settings
18
EOF
20
EOF
19
echo " Done."
21
echo " Done."

Return to bug 183104