aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-03-11 21:08:22 +0800
committertrevor <trevor@FreeBSD.org>2002-03-11 21:08:22 +0800
commit1619459d35fceb08f15b9528cbcf78e01b8214bc (patch)
tree8d3f2bb9cdd06ca4b1127288e40f88aaf6133a0e /x11
parent66e0519f27145a01678b2b2dbc5252051b4fcd27 (diff)
downloadfreebsd-ports-gnome-1619459d35fceb08f15b9528cbcf78e01b8214bc.tar.gz
freebsd-ports-gnome-1619459d35fceb08f15b9528cbcf78e01b8214bc.tar.zst
freebsd-ports-gnome-1619459d35fceb08f15b9528cbcf78e01b8214bc.zip
Generate the packing list just before installation.
Diffstat (limited to 'x11')
-rw-r--r--x11/wrapper/Makefile4
-rw-r--r--x11/wrapper/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/x11/wrapper/Makefile b/x11/wrapper/Makefile
index 42e5c8027109..90082df81bb8 100644
--- a/x11/wrapper/Makefile
+++ b/x11/wrapper/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= trevor@FreeBSD.org
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
NO_WRKSUBDIR= yes
+PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
do-fetch:
@@ -22,6 +23,9 @@ do-fetch:
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
+pre-install:
+ ${ECHO_CMD} bin/Xwrapper-4 > ${PLIST}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/x11/wrapper/pkg-plist b/x11/wrapper/pkg-plist
deleted file mode 100644
index f5da00759c7e..000000000000
--- a/x11/wrapper/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/Xwrapper