diff options
author | jkh <jkh@FreeBSD.org> | 1995-04-22 01:22:49 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-04-22 01:22:49 +0000 |
commit | 3e4910c7c4e8b11131d2c07ab62292f308930c81 (patch) | |
tree | 881f3ce679372454c66ce8a5c86ef14d051fadc4 /Mk | |
parent | 8ae358040ef1dae3e89628f26e4197b19ed6941d (diff) | |
download | FreeBSD-ports-3e4910c7c4e8b11131d2c07ab62292f308930c81.zip FreeBSD-ports-3e4910c7c4e8b11131d2c07ab62292f308930c81.tar.gz |
Ok, this should get the last of the stragglers installed into a new fake-pkg.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 4d1414f..1f2ae69 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.146 1995/04/22 00:05:46 jkh Exp $ +# $Id: bsd.port.mk,v 1.147 1995/04/22 00:08:06 jkh Exp $ # # Please view me with 4 column tabs! @@ -1060,6 +1060,9 @@ fake-pkg: ${PKG_CMD} ${PKG_ARGS} -O ${PKGFILE} > ${PKG_DBDIR}/${PKGNAME}/+CONTENTS; \ cp ${PKGDIR}/DESCR ${PKG_DBDIR}/${PKGNAME}/+DESC; \ cp ${PKGDIR}/COMMENT ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \ + if [ -f ${PKGDIR}/INSTALL ]; then cp ${PKGDIR}/INSTALL ${PKG_DBDIR}/${PKGNAME}/+INSTALL; fi; \ + if [ -f ${PKGDIR}/DEINSTALL ]; then cp ${PKGDIR}/DEINSTALL ${PKG_DBDIR}/${PKGNAME}/+DEINSTALL; fi; \ + if [ -f ${PKGDIR}/REQ ]; then cp ${PKGDIR}/REQ ${PKG_DBDIR}/${PKGNAME}/+REQ; fi; \ else \ ${ECHO_MSG} "===> ${PKGNAME} is already installed - perhaps an older version?"; \ ${ECHO_MSG} " If so, you may wish to \`\`pkg_delete ${PKGNAME}'' and install"; \ |