1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Show notice when a package is installed and flagged as automatic by pkgng

PR:		ports/168909
Submitted by:	"Bryan Drewery" <bryan@shatow.net>
This commit is contained in:
Baptiste Daroussin 2012-06-19 21:51:35 +00:00
parent 5c69ef1185
commit 5aacdde06a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299662

View File

@ -30,7 +30,11 @@ ACTUAL-PACKAGE-DEPENDS?= \
.if !target(fake-pkg)
fake-pkg:
.if !defined(NO_PKG_REGISTER)
.if defined(INSTALLS_DEPENDS)
@${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic"
.else
@${ECHO_MSG} "===> Registering installation for ${PKGNAME}"
.endif
@${MKDIR} ${METADIR}
@${ECHO_CMD} "name: ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}" > ${MANIFESTF}
@${ECHO_CMD} "version: ${PKGVERSION}" >> ${MANIFESTF}