summaryrefslogtreecommitdiff
path: root/devel/qt5-script/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt5-script/Makefile')
-rw-r--r--devel/qt5-script/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/qt5-script/Makefile b/devel/qt5-script/Makefile
new file mode 100644
index 000000000000..d07a4e8f0934
--- /dev/null
+++ b/devel/qt5-script/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= script
+DISTVERSION= ${QT5_VERSION}
+CATEGORIES= devel
+PKGNAMEPREFIX= qt5-
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt 4-compatible scripting module
+
+USE_QT5= core buildtools_build
+QT_DIST= ${PORTNAME}
+USES= qmake
+# Keep make(1) from descending into src/script/obj/ (qmake:outsource
+# doesn't work).
+MAKE_ENV= MAKEOBJDIR=.
+USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
+
+post-patch:
+ @${REINPLACE_CMD} -e '/scripttools/ d' \
+ ${WRKSRC}/src/src.pro
+
+.include <bsd.port.mk>