summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-22 00:01:26 +0000
committerjkh <jkh@FreeBSD.org>1995-04-22 00:01:26 +0000
commit571d43ff480784669abbb23d717dfb1a2cd06812 (patch)
tree235ad0684f00c9f660ed4e33cf7bd8259fe6b950 /share
parent88b4fc2525d2261ef42e7ba99827e5f47a51dc54 (diff)
downloadFreeBSD-src-571d43ff480784669abbb23d717dfb1a2cd06812.zip
FreeBSD-src-571d43ff480784669abbb23d717dfb1a2cd06812.tar.gz
Instead of copying PLIST over, run pkg_create in a special mode that dumps
the fully-formed PLIST to stdout and uses that.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index cb7757f..0c70b41 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.134 1995/04/09 10:24:09 jkh Exp $
+# $Id: bsd.port.mk,v 1.144 1995/04/20 18:03:02 asami Exp $
#
# Please view me with 4 column tabs!
@@ -1055,7 +1055,7 @@ fake-pkg:
@if [ ! -d ${PKG_DBDIR}/${PKGNAME} ]; then \
${ECHO_MSG} "===> Registering installation for ${PKGNAME}"; \
mkdir -p ${PKG_DBDIR}/${PKGNAME}; \
- cp ${PKGDIR}/PLIST ${PKG_DBDIR}/${PKGNAME}/+CONTENTS; \
+ ${PKG_CMD} ${PKG_ARGS} -O ${PKGFILE} > ${PKG_DBDIR}/${PKGNAME}/+CONTENTS; \
cp ${PKGDIR}/DESCR ${PKG_DBDIR}/${PKGNAME}/+DESC; \
cp ${PKGDIR}/COMMENT ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \
else \
OpenPOWER on IntegriCloud