diff options
author | sf <sf@FreeBSD.org> | 2001-06-12 16:08:20 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-12 16:08:20 +0000 |
commit | b3f4fabeec457beaf6b6be949bf030f50806331d (patch) | |
tree | cfb62c0dd7139d4ab510c746d539c754c4f4d4ef /x11-servers | |
parent | 172a0fbeceb0361afa1656b20c9518e0382486ea (diff) | |
download | FreeBSD-ports-b3f4fabeec457beaf6b6be949bf030f50806331d.zip FreeBSD-ports-b3f4fabeec457beaf6b6be949bf030f50806331d.tar.gz |
display PKGMESSAGE correctly.
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/Makefile | 12 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 12 |
2 files changed, 16 insertions, 8 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index 12751f7..c6bcbba 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 <bsd.port.post.mk> diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 12751f7..c6bcbba 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> |