summaryrefslogtreecommitdiff
path: root/editors/kate-plugin-pate-kde4/Makefile
blob: b29cfb4c408bcf566d8eb0e8d7926562dd0784bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $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

DEPRECATED=	KDE4 is EOL upstream
EXPIRATION_DATE=	2018-12-31

USES=		cmake:noninja kde:4 python:2.7 qt:4 tar:xz
USE_KDE=	kdelibs automoc4 kate \
		pykde4_build pykde4_run
USE_QT=		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>