summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-01-03 11:52:01 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-01-03 11:52:01 +0000
commite7c865345a8627644d852a845ed4e32bbb91f096 (patch)
tree0432c667911f8c9a4dcf079ef8d5736a9e8f3e18 /Mk/bsd.port.mk
parentNeaten this up a little, add acs port. (diff)
Add describe target support.
Notes
Notes: svn path=/head/; revision=674
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8e4bfceb3b79..9e11b96ab8bc 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.89 1994/12/28 04:17:54 ache Exp $
+# $Id: bsd.port.mk,v 1.90 1995/01/01 20:06:20 ache Exp $
#
# Please view me with 4 column tabs!
@@ -277,6 +277,15 @@ patch:
# More standard targets start here.
+.if !target(describe)
+describe:
+ @if [ -f ${PKGDIR}/COMMENT ]; then \
+ echo "${.CURDIR}/${DISTNAME}: `cat ${PKGDIR}/COMMENT`"; \
+ else \
+ echo "${.CURDIR}/${DISTNAME}: ** No Description"; \
+ fi
+.endif
+
.if !target(reinstall)
reinstall: pre-reinstall install