# $FreeBSD: head/graphics/libjxr/Makefile 501569 2019-05-13 14:27:29Z amdmi3 $ PORTNAME= jxrlib PORTVERSION= 1.1 CATEGORIES= graphics devel MASTER_SITES= DEBIAN DISTFILES= jxrlib_${PORTVERSION}.orig.tar.gz \ jxrlib_${PORTVERSION}-6.debian.tar.xz MAINTAINER= mi@aldan.algebra.com COMMENT= Library for JPEG XR, a.k.a. Windows MediaTM Photo LICENSE= BSD2CLAUSE USES= dos2unix uidfix USE_LDCONFIG= yes MAKEFILE= BSDmakefile # created by do-configure MAKE_ENV= WRKDIR="${WRKDIR}" do-configure: ${RM} -f ${WRKSRC}/BSDmakefile .for d in libjpegxr jxrgluelib JxrEncApp JxrDecApp ${MKDIR} ${WRKSRC}/$d ${LN} -sf ${FILESDIR}/BSDmakefile.$d ${WRKSRC}/$d/BSDmakefile ${ECHO} "SUBDIR+=$d" >> ${WRKSRC}/BSDmakefile .endfor ${ECHO} '.include ' >> ${WRKSRC}/BSDmakefile post-build: ${MKDIR} ${STAGEDIR}${PREFIX}/include/jxrlib do-test: ${SETENV} WRKSRC="${WRKSRC}" ${SH} -x ${FILESDIR}/test.sh .include