aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/open-motif
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2005-03-11 00:28:14 +0800
committerphantom <phantom@FreeBSD.org>2005-03-11 00:28:14 +0800
commit25a285d72821c6ca75377560aeac56757fd08ac2 (patch)
tree856c3759a5e4fbb3f587f89839beeb7e80fc3ca8 /x11-toolkits/open-motif
parent034cb862232bdfddd7bb607018f7d3a96db1c411 (diff)
downloadfreebsd-ports-gnome-25a285d72821c6ca75377560aeac56757fd08ac2.tar.gz
freebsd-ports-gnome-25a285d72821c6ca75377560aeac56757fd08ac2.tar.zst
freebsd-ports-gnome-25a285d72821c6ca75377560aeac56757fd08ac2.zip
Merge open-motif-jdk's functionality to open-motif port itself
Diffstat (limited to 'x11-toolkits/open-motif')
-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"