aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-VirtualFramebufferServer/Makefile')
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
index 90c2c09d09f2..ce829d316c39 100644
--- a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= VirtualFramebufferServer
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= 4.1.0
@@ -25,6 +26,23 @@ INSTALL_TARGET= installXvfb installXserver.man
MAKE_ENV= MAN_INSTALL_TARGET=installXvfb.man
MAN1= Xserver.1 Xvfb.1
+HasXdmAuth?= DEFAULT
+
+.if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
+pre-fetch:
+ @${ECHO}
+ @${ECHO} Assuming that you have fetched a USA-Legal Wraphelp.c.
+.else
+MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
+ ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
+ ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
+EXTRACT_ONLY= X410src-1.tgz
+DISTFILES+= Wraphelp.c
+IGNOREFILES= Wraphelp.c
+.endif
+.endif
+
do-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure