summaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-Server
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-12 16:08:20 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-12 16:08:20 +0000
commit394b2db0bd25491c85c32829aedb9de21b92d0c9 (patch)
tree3437f037b5fb3fe811ba307468f51dfaf771771d /x11-servers/XFree86-4-Server
parentUpdate to 1.6.3. (diff)
display PKGMESSAGE correctly.
Notes
Notes: svn path=/head/; revision=43910
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r--x11-servers/XFree86-4-Server/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 12751f78a052..c6bcbba81bc5 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -168,11 +168,15 @@ pre-install:
${MKDIR} ${PREFIX}/lib/X11/kernel
.endif
-post-install:
- strip ${PREFIX}/bin/XFree86
+post-build:
+ @${RM} ${PKGMESSAGE}
.if ${BuildXF86DRM} == "YES"
- @(cd ${.CURDIR}; ${CAT} pkg-message pkg-message-drm > ${PKGMESSAGE})
- @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ @${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE}
.endif
+ @${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
+
+post-install:
+ @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
+ strip ${PREFIX}/bin/XFree86
.include <bsd.port.post.mk>