aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-PrintServer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-PrintServer/Makefile')
-rw-r--r--x11-servers/XFree86-4-PrintServer/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-PrintServer/Makefile b/x11-servers/XFree86-4-PrintServer/Makefile
index f9e5b8e9ad4c..ca506c4c85a4 100644
--- a/x11-servers/XFree86-4-PrintServer/Makefile
+++ b/x11-servers/XFree86-4-PrintServer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= PrintServer
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= 4.1.0
@@ -24,6 +25,23 @@ MAKE_ENV= MAN_INSTALL_TARGET=NOOP
ALL_TARGET= FreeBSDPortsBuild
INSTALL_TARGET= installXprt
+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