mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
Make the describe rule generate more thorough information that's actually
of use to a front-end program. Back out my bogus description of the `index' target! :-)
This commit is contained in:
parent
ed6248d90a
commit
86f8fd330d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1173
1 changed files with 10 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
||||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||||
# This file is in the public domain.
|
# This file is in the public domain.
|
||||||
#
|
#
|
||||||
# $Id: bsd.port.mk,v 1.118 1995/03/20 00:41:36 ats Exp $
|
# $Id: bsd.port.mk,v 1.119 1995/03/21 01:31:43 jkh Exp $
|
||||||
#
|
#
|
||||||
# Please view me with 4 column tabs!
|
# Please view me with 4 column tabs!
|
||||||
|
|
||||||
|
@ -115,7 +115,6 @@
|
||||||
# use in INDEX files and the like.
|
# use in INDEX files and the like.
|
||||||
# checksum - Use files/md5 to ensure that your distfiles are valid
|
# checksum - Use files/md5 to ensure that your distfiles are valid
|
||||||
# makesum - Generate files/md5 (only do this for your own ports!)
|
# makesum - Generate files/md5 (only do this for your own ports!)
|
||||||
# index - Generate an INDEX file of port short desriptions.
|
|
||||||
#
|
#
|
||||||
# Default sequence for "all" is: fetch extract configure build
|
# Default sequence for "all" is: fetch extract configure build
|
||||||
|
|
||||||
|
@ -311,15 +310,18 @@ patch:
|
||||||
|
|
||||||
.if !target(describe)
|
.if !target(describe)
|
||||||
describe:
|
describe:
|
||||||
.if defined(NO_PACKAGE)
|
@echo -n "${DISTNAME}@${.CURDIR}/${DISTNAME}@${PREFIX}@"
|
||||||
@echo "${.CURDIR}/${DISTNAME}: ** Not packageable";
|
|
||||||
.else
|
|
||||||
@if [ -f ${PKGDIR}/COMMENT ]; then \
|
@if [ -f ${PKGDIR}/COMMENT ]; then \
|
||||||
echo "${.CURDIR}/${DISTNAME}: `cat ${PKGDIR}/COMMENT`"; \
|
echo -n "`cat ${PKGDIR}/COMMENT`"; \
|
||||||
else \
|
else \
|
||||||
echo "${.CURDIR}/${DISTNAME}: ** No Description"; \
|
echo -n "** No Description"; \
|
||||||
fi
|
fi
|
||||||
.endif
|
@if [ -f ${PKGDIR}/DESCR ]; then \
|
||||||
|
echo -n "@${PKGDIR}/DESCR"; \
|
||||||
|
else \
|
||||||
|
echo -n "@/dev/null"; \
|
||||||
|
fi
|
||||||
|
@echo ""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !target(reinstall)
|
.if !target(reinstall)
|
||||||
|
|
Loading…
Add table
Reference in a new issue