diff options
author | jkh <jkh@FreeBSD.org> | 1995-03-21 01:51:12 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-03-21 01:51:12 +0000 |
commit | 7907b9ddeba3f111dd1e2a456c4e5f820b68b326 (patch) | |
tree | 88809752438e66e3c36bd2d773184381c29972d9 /Mk | |
parent | f2ab243bb657b0fa98da2a3c5550e10173492118 (diff) | |
download | FreeBSD-ports-7907b9ddeba3f111dd1e2a456c4e5f820b68b326.zip FreeBSD-ports-7907b9ddeba3f111dd1e2a456c4e5f820b68b326.tar.gz |
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! :-)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 0f43047..20255cc 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) |