PORTNAME= jxrlib PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= graphics devel MASTER_SITES= DEBIAN DISTFILES= jxrlib_${PORTVERSION}.orig.tar.gz \ jxrlib_${PORTVERSION}-6.debian.tar.xz MAINTAINER= ports@virtual-estates.net COMMENT= Library for JPEG XR, a.k.a. Windows MediaTM Photo WWW= https://jxrlib.codeplex.com/ 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