summaryrefslogtreecommitdiff
path: root/editors/kate-plugin-pate-kde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/kate-plugin-pate-kde4/Makefile')
-rw-r--r--editors/kate-plugin-pate-kde4/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/editors/kate-plugin-pate-kde4/Makefile b/editors/kate-plugin-pate-kde4/Makefile
new file mode 100644
index 000000000000..784789978259
--- /dev/null
+++ b/editors/kate-plugin-pate-kde4/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= kate-plugin-pate
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 3
+CATEGORIES= editors kde kde-kde4
+DISTNAME= kate-${PORTVERSION}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Support for Python plugins in Kate
+
+USES= cmake:outsource,noninja kde:4 python:2.7 tar:xz
+USE_KDE= kdelibs automoc4 kate \
+ pykde4_build pykde4_run
+USE_QT4= gui webkit \
+ moc_build qmake_build rcc_build uic_build
+
+DISTINFO_FILE= ${.CURDIR:H:H}/editors/kate-kde4/distinfo
+
+# cmake.mk doesn't allow to overwrite BUILD_WRKSRC for out-of-source builds
+_pate_WRKSRC= ${BUILD_WRKSRC}/addons/kate/pate
+
+do-build:
+ cd ${_pate_WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
+
+do-install:
+ cd ${_pate_WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
+
+.include <bsd.port.mk>