summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2005-03-10 16:28:14 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2005-03-10 16:28:14 +0000
commite1c3bf3c8961c4aeab8f7892b2ac901a9f4f5cda (patch)
treec732c69498e8eb2e6c24a77a42bd13e7ab543d06 /x11-toolkits
parent- Add rcng'ified startup-script (diff)
Merge open-motif-jdk's functionality to open-motif port itself
Notes
Notes: svn path=/head/; revision=130816
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/open-motif/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile
index b36ea14a8c28..e4b4a4c89e0b 100644
--- a/x11-toolkits/open-motif/Makefile
+++ b/x11-toolkits/open-motif/Makefile
@@ -36,6 +36,20 @@ DEMOS_SRC= ${WRKSRC}/demos/programs
.error You have `USE_MOTIF' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
+.if defined(WITH_JDK_PATCH)
+
+PKGNAMESUFFIX= -jdk
+WITHOUT_OPENMOTIF_DEMOS= YES
+WITHOUT_OPENMOTIF_MANUALS= YES
+
+.if exists(${WITH_JDK_PATCH})
+EXTRA_PATCHES+= ${WITH_JDK_PATCH}
+.else
+.error "wrong WITH_JDK_PATCH value"
+.endif
+
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"