summaryrefslogtreecommitdiff
path: root/x11/nxcomp/Makefile
blob: 403d6664096fc390a29ce83a4dac8ccaad567e83 (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
PORTNAME=	nxcomp
PORTVERSION=	3.5.0.32
PORTREVISION=	2
MASTER_SITES=	https://code.x2go.org/releases/source/nx-libs/
CATEGORIES=	x11 devel
DISTNAME=	nx-libs-${PORTVERSION}-lite

MAINTAINER=	ports@FreeBSD.org
COMMENT=	NX X11 protocol compression libraries

WRKSRC=		${WRKDIR}/nx-libs-${PORTVERSION}/${PORTNAME}

USES=		autoreconf gmake jpeg xorg
USE_XORG=	xorgproto
GNU_CONFIGURE=	yes
LIB_DEPENDS=	libpng.so:graphics/png

post-patch:
	@${REINPLACE_CMD} -e "s,libdir}/nx,libdir},g" ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e "s|/usr/NX/bin:/opt/NX/bin:/usr/local/NX|${PREFIX}|" \
		${WRKSRC}/Children.cpp

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXcomp.so.3.5*

.include <bsd.port.mk>