aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 22:05:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 22:05:25 +0000
commitf7ee0361175ed76932890fe248a596be979bb248 (patch)
tree1cde83cd67803d8d45b40a4e04f5aee6e62a212e /x11-servers
parent3e0a2d750860c7137d17284fa4e782bdd20cf06b (diff)
downloadports-f7ee0361175ed76932890fe248a596be979bb248.tar.gz
ports-f7ee0361175ed76932890fe248a596be979bb248.zip
Fix packaging on FreeBSD 11 when WITH_NEW_XORG is defined by bsd.port.mk
Notes
Notes: svn path=/head/; revision=341122
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/xorg-vfbserver/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-servers/xorg-vfbserver/Makefile b/x11-servers/xorg-vfbserver/Makefile
index 0f367c7c3c06..c702f680e638 100644
--- a/x11-servers/xorg-vfbserver/Makefile
+++ b/x11-servers/xorg-vfbserver/Makefile
@@ -24,10 +24,10 @@ PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hw/vfb/Xvfb ${STAGEDIR}${PREFIX}/bin/
-.if defined(WITH_NEW_XORG)
- ${INSTALL_MAN} ${WRKSRC}/hw/vfb/man/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/
-.else
- ${INSTALL_MAN} ${WRKSRC}/hw/vfb/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/
-.endif
+ if [ -f ${WRKSRC}/hw/vfb/man/Xvfb.1 ] ; then \
+ ${INSTALL_MAN} ${WRKSRC}/hw/vfb/man/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ ; \
+ else \
+ ${INSTALL_MAN} ${WRKSRC}/hw/vfb/Xvfb.1 ${STAGEDIR}${PREFIX}/man/man1/ ; \
+ fi
.include "${MASTERDIR}/Makefile"