aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-22 08:01:26 +0800
committerjkh <jkh@FreeBSD.org>1995-04-22 08:01:26 +0800
commite479999ec87297ff29a974bd986da445419071ee (patch)
treea0f44c95ddc118d975ddbbfb1ac66971bf176daf /Mk
parente818dee985245b883adaf553f257bd7265ef87e1 (diff)
downloadfreebsd-ports-gnome-e479999ec87297ff29a974bd986da445419071ee.tar.gz
freebsd-ports-gnome-e479999ec87297ff29a974bd986da445419071ee.tar.zst
freebsd-ports-gnome-e479999ec87297ff29a974bd986da445419071ee.zip
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 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index cb7757fced37..0c70b4151b15 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.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 \