summaryrefslogtreecommitdiff
path: root/x11-servers/xorg-vfbserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-vfbserver/Makefile')
-rw-r--r--x11-servers/xorg-vfbserver/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11-servers/xorg-vfbserver/Makefile b/x11-servers/xorg-vfbserver/Makefile
index 6f11ae9603b2..0d6babf32eb0 100644
--- a/x11-servers/xorg-vfbserver/Makefile
+++ b/x11-servers/xorg-vfbserver/Makefile
@@ -20,11 +20,16 @@ CONFIGURE_ARGS= --disable-dmx --disable-xnest \
--localstatedir=/var --without-dtrace
SLAVE_PORT= yes
-PLIST_FILES= bin/Xvfb
-MAN1= Xvfb.1
+PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz
+
+.include <bsd.port.options.mk>
-NO_STAGE= yes
do-install:
- cd ${WRKSRC}/hw/vfb; ${MAKE} 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
.include "${MASTERDIR}/Makefile"