svn commit: r425034 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Mon Oct 31 22:52:29 UTC 2016


Author: bapt
Date: Mon Oct 31 22:52:27 2016
New Revision: 425034
URL: https://svnweb.freebsd.org/changeset/ports/425034

Log:
  Add an annotation to packages that are marked as deprecated and the one having
  an expiration date
  
  Approved by:	portmgr (bdrewery)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Oct 31 22:37:21 2016	(r425033)
+++ head/Mk/bsd.port.mk	Mon Oct 31 22:52:27 2016	(r425034)
@@ -1465,6 +1465,16 @@ PKG_NOTES+=	no_provide_shlib
 PKG_NOTE_no_provide_shlib=	yes
 .endif
 
+.if defined(DEPRECATED)
+PKG_NOTES+=	deprecated
+PKG_NOTE_deprecated=${DEPRECATED}
+.endif
+
+.if defined(EXPIRATION_DATE)
+PKG_NOTES+=	expiration_date
+PKG_NOTE_expiration_date=	${EXPIRATION_DATE}
+.endif
+
 TEST_ARGS?=		${MAKE_ARGS}
 TEST_ENV?=		${MAKE_ENV}
 


More information about the svn-ports-all mailing list