summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-22 01:22:49 +0000
committerjkh <jkh@FreeBSD.org>1995-04-22 01:22:49 +0000
commit6600a0c36dca33970472effcbe24a2818ee32f5c (patch)
tree23f783d80ad61a626d356d5b0e4b6fb67f0f6662 /share
parent62b882306cf89c8c45d7b64a226280a92e0bec5a (diff)
downloadFreeBSD-src-6600a0c36dca33970472effcbe24a2818ee32f5c.zip
FreeBSD-src-6600a0c36dca33970472effcbe24a2818ee32f5c.tar.gz
Ok, this should get the last of the stragglers installed into a new fake-pkg.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.port.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 4d1414f..1f2ae69 100644
--- a/share/mk/bsd.port.mk
+++ b/share/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"; \
OpenPOWER on IntegriCloud