2012-10-29 11:19:02 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2012/10/29 15:19:03 espie Exp $
|
2008-06-13 13:12:42 -04:00
|
|
|
|
|
|
|
COMMENT= library to compress the standard X protocol
|
|
|
|
|
2012-01-03 11:35:28 -05:00
|
|
|
DASHVERSION= 2
|
2009-01-25 14:23:49 -05:00
|
|
|
DISTNAME= nxcomp-${MAJOR_VERSION}-${DASHVERSION}
|
|
|
|
PKGNAME= nxcomp-${MAJOR_VERSION}.${DASHVERSION}
|
2011-03-02 03:48:16 -05:00
|
|
|
SHARED_LIBS= Xcomp 1.0
|
2011-03-02 01:55:41 -05:00
|
|
|
|
|
|
|
WANTLIB += jpeg m png stdc++ z
|
2008-06-13 13:12:42 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
|
|
graphics/png
|
2008-06-13 13:12:42 -04:00
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.59
|
2012-02-21 11:21:41 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2008-06-13 13:12:42 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
|
|
|
LIBXcomp_VERSION=${LIBXcomp_VERSION} \
|
|
|
|
CFLAGS="${CFLAGS}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/nxcomp
|
2012-10-29 11:19:02 -04:00
|
|
|
# requires the includes
|
|
|
|
USE_X11 = Yes
|
2008-06-13 13:12:42 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libXcomp.so.${LIBXcomp_VERSION} \
|
|
|
|
${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libXcomp.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/nx
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/NX*.h ${PREFIX}/include/nx
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/MD5.h ${PREFIX}/include/nx
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|