mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
28 lines
699 B
Makefile
28 lines
699 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nxcomp
|
|
PORTVERSION= 3.5.0.32
|
|
MASTER_SITES= http://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
|
|
USE_XORG= xproto
|
|
GNU_CONFIGURE= yes
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/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>
|