summaryrefslogtreecommitdiff
path: root/x11/nx-libs/Makefile
blob: ba5cc3a068aa87e2fc84e729d913fedb8e7f852e (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
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.1 2021/02/24 18:38:42 hauke Exp $

DISTNAME=	nx-libs-${PKGVER}-lite
PKGNAME=	nx-libs-${PKGVER}
PKGVER=		3.5.99.22
MASTER_SITES=	https://code.x2go.org/releases/source/nx-libs/
CATEGORIES=	x11 devel

MAINTAINER=	hauke@NetBSD.org
HOMEPAGE=	https://wiki.x2go.org/doku.php
COMMENT=	NX X11 protocol compression library

LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/nx-libs-${PKGVER}
NXDIRS=		nxcomp nxproxy

.include "../../mk/bsd.prefs.mk"

USE_TOOLS+=		aclocal automake autoconf pkg-config gmake
USE_LANGUAGES+=		c c++

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes

CONFIGURE_DIRS=		${NXDIRS}
BUILD_DIRS=		${NXDIRS}
INSTALL_DIRS=		${NXDIRS}

pre-configure:
.for nxd in ${NXDIRS}
	cd ${WRKSRC}/${nxd} && autoreconf -vfsi
.endfor

.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

.include "../../mk/bsd.pkg.mk"