From b3f4fabeec457beaf6b6be949bf030f50806331d Mon Sep 17 00:00:00 2001 From: sf Date: Tue, 12 Jun 2001 16:08:20 +0000 Subject: display PKGMESSAGE correctly. --- x11-servers/XFree86-4-Server-snap/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'x11-servers/XFree86-4-Server-snap/Makefile') diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index 12751f78a05..c6bcbba81bc 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/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 -- cgit