aboutsummaryrefslogtreecommitdiffstats
path: root/devel/imake-4/Makefile
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-07 04:41:44 +0800
committersf <sf@FreeBSD.org>2002-01-07 04:41:44 +0800
commitaddaf19c723958ee97ad4084203b9607dcc2c8aa (patch)
tree25282a1931c96f5ba45e8582184115a51a477f70 /devel/imake-4/Makefile
parent6eb6157702f76a0b50ffa935404da2430e257fb0 (diff)
downloadfreebsd-ports-graphics-addaf19c723958ee97ad4084203b9607dcc2c8aa.tar.gz
freebsd-ports-graphics-addaf19c723958ee97ad4084203b9607dcc2c8aa.tar.zst
freebsd-ports-graphics-addaf19c723958ee97ad4084203b9607dcc2c8aa.zip
o don't grok ${FILESDIR} for Wraphelp.c.
This means bento will not ship XDM-AUTHORIZATION-1 enabled package. o fetch Wraphelp.c for non-US residents.
Diffstat (limited to 'devel/imake-4/Makefile')
-rw-r--r--devel/imake-4/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index c330427426f..8b32da607a8 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -116,17 +116,24 @@ ExtendedInputDevices?= YES
# InstallXserverSetUID=NO : use Xwrapper.
# End of XFree86 configrations
-.include <bsd.port.pre.mk>
-
.if ${HasXdmAuth} == YES
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/Wraphelp.c) &&\
- !exists(${FILESDIR}/Wraphelp.c)
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/Wraphelp.c)
pre-everything::
@${ECHO_MSG} "You don't have Wraphelp.c: HasXdmAuth disabled."
HasXdmAuth= NO
-.endif
-.endif
-.endif
+.else
+pre-everything::
+ @${ECHO_MSG} "Assuming that you have fetched a USA-Legal Wraphelp.c."
+.endif # ! having 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 # USA_RESIDENT
+.endif # HasXdmAuth
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>