diff options
author | trevor <trevor@FreeBSD.org> | 2002-03-11 21:08:22 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-03-11 21:08:22 +0800 |
commit | 1619459d35fceb08f15b9528cbcf78e01b8214bc (patch) | |
tree | 8d3f2bb9cdd06ca4b1127288e40f88aaf6133a0e /x11/wrapper | |
parent | 66e0519f27145a01678b2b2dbc5252051b4fcd27 (diff) | |
download | freebsd-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/wrapper')
-rw-r--r-- | x11/wrapper/Makefile | 4 | ||||
-rw-r--r-- | x11/wrapper/pkg-plist | 1 |
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 |