summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-03-21 01:51:12 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-03-21 01:51:12 +0000
commit86f8fd330d17d3d68abbeb668f56864e353d038c (patch)
tree2547bc0554635dbf159c7fe9e2f46f2aec4a52a0 /Mk/bsd.port.mk
parentChange the index target - this is more generally useful now. (diff)
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! :-)
Notes
Notes: svn path=/head/; revision=1173
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk18
1 files changed, 10 insertions, 8 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 0f4304724247..20255ccd167f 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# 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!
@@ -115,7 +115,6 @@
# use in INDEX files and the like.
# checksum - Use files/md5 to ensure that your distfiles are valid
# 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
@@ -311,15 +310,18 @@ patch:
.if !target(describe)
describe:
-.if defined(NO_PACKAGE)
- @echo "${.CURDIR}/${DISTNAME}: ** Not packageable";
-.else
+ @echo -n "${DISTNAME}@${.CURDIR}/${DISTNAME}@${PREFIX}@"
@if [ -f ${PKGDIR}/COMMENT ]; then \
- echo "${.CURDIR}/${DISTNAME}: `cat ${PKGDIR}/COMMENT`"; \
+ echo -n "`cat ${PKGDIR}/COMMENT`"; \
else \
- echo "${.CURDIR}/${DISTNAME}: ** No Description"; \
+ echo -n "** No Description"; \
fi
-.endif
+ @if [ -f ${PKGDIR}/DESCR ]; then \
+ echo -n "@${PKGDIR}/DESCR"; \
+ else \
+ echo -n "@/dev/null"; \
+ fi
+ @echo ""
.endif
.if !target(reinstall)