diff options
author | sf <sf@FreeBSD.org> | 2001-06-13 00:08:20 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-13 00:08:20 +0800 |
commit | b3f4fabeec457beaf6b6be949bf030f50806331d (patch) | |
tree | cfb62c0dd7139d4ab510c746d539c754c4f4d4ef /x11-servers | |
parent | 172a0fbeceb0361afa1656b20c9518e0382486ea (diff) | |
download | freebsd-ports-gnome-b3f4fabeec457beaf6b6be949bf030f50806331d.tar.gz freebsd-ports-gnome-b3f4fabeec457beaf6b6be949bf030f50806331d.tar.zst freebsd-ports-gnome-b3f4fabeec457beaf6b6be949bf030f50806331d.zip |
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 12751f78a052..c6bcbba81bc5 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 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> |