aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-10-04 01:23:37 +0000
committerSteve Price <steve@FreeBSD.org>2000-10-04 01:23:37 +0000
commit9bbb629b60bf71b35e8443056e1d99182e5351fb (patch)
tree968dafcc17e50d5306a29eda0d43a3ca49134e72 /x11-toolkits
parent8db371b1d8cad41f575d45e157c22e90fa9cbf45 (diff)
downloadports-9bbb629b60bf71b35e8443056e1d99182e5351fb.tar.gz
ports-9bbb629b60bf71b35e8443056e1d99182e5351fb.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/open-motif/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile
index d58f219993d5..e0feba6c6b82 100644
--- a/x11-toolkits/open-motif/Makefile
+++ b/x11-toolkits/open-motif/Makefile
@@ -21,12 +21,20 @@ PATCH_SITES= ftp://openmotif.opengroup.org/pub/openmotif/R${PORTVERSION}/fixes/
PATCHFILES= patch1 patch2 patch3 patch4 patch5
PATCH_DIST_STRIP= -p1
-
MAINTAINER= steve@FreeBSD.org
-RUN_DEPENDS= imake:${PORTSDIR}/devel/imake-4
+.include <bsd.port.pre.mk>
+#xxx Hack alert! For some reason USE_IMAKE is not enough to make this happen.
+PREFIX= ${X11BASE}
+
+.if ${XFREE86_VERSION} >= 4
+RUN_DEPENDS= imake:${PORTSDIR}/devel/imake-4
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+.else
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+.endif
+
DIST_SUBDIR= openmotif
WRKSRC= ${WRKDIR}/motif
USE_IMAKE= yes
@@ -630,7 +638,6 @@ post-patch:
@cd ${WRKSRC}/doc/man/man5 && ${PERL} -pi.orig \
-e "s|file formats|5|" *.5
-
pre-configure:
-@if [ -d ${WRKSRC}/imports/x11/lib/X11 ]; then \
: ; \
@@ -698,4 +705,4 @@ share-examples:
# ${PREFIX}/share/examples/openmotif/demos/
@${RM} -rf ${PREFIX}/share/examples/openmotif/demos
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>