summaryrefslogtreecommitdiff
path: root/deskutils/notebook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/notebook/Makefile')
-rw-r--r--deskutils/notebook/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/deskutils/notebook/Makefile b/deskutils/notebook/Makefile
index 569ca15c1dcd..1cc2e637e395 100644
--- a/deskutils/notebook/Makefile
+++ b/deskutils/notebook/Makefile
@@ -13,7 +13,7 @@ DISTNAME= Notebook_source-${PORTVERSION}
MAINTAINER= lioux@linf.unb.br
-BUILD_DEPENDS= nonexistent:${JXPORT}:configure \
+BUILD_DEPENDS= ${NONEXISTENT}:${JXPORT}:configure \
makemake:${JXPORT}
LIB_DEPENDS= jx-1_5_3.1:${JXPORT} \
jtoolbar-0_5_4.0:${PORTSDIR}/x11-toolkits/libjtoolbar \
@@ -48,13 +48,14 @@ EXTRALIBFILES_MAKE_WRKSRC= include/make
# main jx distribution files needed for building
COPY_JXDIRS= include
COPY_JXFILES= Makefile
+
+.include <bsd.port.pre.mk>
+
# main jx distribution port wrksrc
JXPORT= ${PORTSDIR}/x11-toolkits/jx
-JXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3
+JXPORT_WRKSRC!= cd ${JXPORT} && ${MAKE} -V WRKSRC
JX_MAKE_CONSTANTS= jtoolbar_constants jtree_constants
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} >= 300000
ALL_TARGET= freebsd3.x
.else