mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Handle ports which have no WWW line in their pkg-descr.
This commit is contained in:
parent
a8e7fe3cec
commit
796d76b418
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161870
@ -35,8 +35,11 @@ pre-install: gnome-reference-pre-install
|
||||
|
||||
gnome-reference-pre-install:
|
||||
@${ECHO_CMD} "This port contains the programming reference for ${REFERENCE_PORT}." > ${DESCR}
|
||||
@${ECHO_CMD} "" >> ${DESCR}
|
||||
@${GREP} "^WWW:" ${PARENTDIR}/pkg-descr >> ${DESCR}
|
||||
@www=`${GREP} "^WWW:" ${PARENTDIR}/pkg-descr` || ${TRUE}; \
|
||||
if [ -n "$$www" ]; then \
|
||||
${ECHO_CMD} "" >> ${DESCR}; \
|
||||
${ECHO_CMD} "$$www" >> ${DESCR}; \
|
||||
fi
|
||||
|
||||
.if !target(do-install)
|
||||
do-install:
|
||||
|
Loading…
Reference in New Issue
Block a user